28 using OpenSim.Region.Framework.Scenes;
30 namespace OpenSim.
Region.OptionalModules.Scripting.Minimodule
34 private readonly
Scene m_scene;
41 public double this[
int x,
int y]
43 get {
return Get(x, y); }
44 set { Set(x, y, value); }
49 get {
return m_scene.Heightmap.Height; }
54 get {
return m_scene.Heightmap.Width; }
57 protected double Get(
int x,
int y)
59 return m_scene.Heightmap[x, y];
62 protected void Set(
int x,
int y,
double val)
64 m_scene.Heightmap[x, y] = val;
void Set(int x, int y, double val)