mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Update svn properties.
This commit is contained in:
@@ -1,34 +1,34 @@
|
||||
using OpenSim.Region.Framework.Scenes;
|
||||
|
||||
namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||
{
|
||||
public class Heightmap : IHeightmap
|
||||
{
|
||||
private Scene m_scene;
|
||||
|
||||
public Heightmap(Scene scene)
|
||||
{
|
||||
m_scene = scene;
|
||||
}
|
||||
|
||||
public int Height
|
||||
{
|
||||
get { return m_scene.Heightmap.Height; }
|
||||
}
|
||||
|
||||
public int Width
|
||||
{
|
||||
get { return m_scene.Heightmap.Width; }
|
||||
}
|
||||
|
||||
public double Get(int x, int y)
|
||||
{
|
||||
return m_scene.Heightmap[x, y];
|
||||
}
|
||||
|
||||
public void Set(int x, int y, double val)
|
||||
{
|
||||
m_scene.Heightmap[x, y] = val;
|
||||
}
|
||||
}
|
||||
}
|
||||
using OpenSim.Region.Framework.Scenes;
|
||||
|
||||
namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||
{
|
||||
public class Heightmap : IHeightmap
|
||||
{
|
||||
private Scene m_scene;
|
||||
|
||||
public Heightmap(Scene scene)
|
||||
{
|
||||
m_scene = scene;
|
||||
}
|
||||
|
||||
public int Height
|
||||
{
|
||||
get { return m_scene.Heightmap.Height; }
|
||||
}
|
||||
|
||||
public int Width
|
||||
{
|
||||
get { return m_scene.Heightmap.Width; }
|
||||
}
|
||||
|
||||
public double Get(int x, int y)
|
||||
{
|
||||
return m_scene.Heightmap[x, y];
|
||||
}
|
||||
|
||||
public void Set(int x, int y, double val)
|
||||
{
|
||||
m_scene.Heightmap[x, y] = val;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user