diff options
author | Jeff Ames | 2009-03-07 02:00:18 +0000 |
---|---|---|
committer | Jeff Ames | 2009-03-07 02:00:18 +0000 |
commit | e1f68145be8b0cfc48c7fe6920ae8db1bfa049f5 (patch) | |
tree | d4d37926bd660bbad4dd9e4f84a385a1f770ec5d /OpenSim/Region/OptionalModules/Scripting/Minimodule/Heightmap.cs | |
parent | * Fixes mantis: #3241 (diff) | |
download | opensim-SC_OLD-e1f68145be8b0cfc48c7fe6920ae8db1bfa049f5.zip opensim-SC_OLD-e1f68145be8b0cfc48c7fe6920ae8db1bfa049f5.tar.gz opensim-SC_OLD-e1f68145be8b0cfc48c7fe6920ae8db1bfa049f5.tar.bz2 opensim-SC_OLD-e1f68145be8b0cfc48c7fe6920ae8db1bfa049f5.tar.xz |
Update svn properties.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/Heightmap.cs | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Heightmap.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Heightmap.cs index c75c6e7..6fa6ebe 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Heightmap.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Heightmap.cs | |||
@@ -1,34 +1,34 @@ | |||
1 | using OpenSim.Region.Framework.Scenes; | 1 | using OpenSim.Region.Framework.Scenes; |
2 | 2 | ||
3 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | 3 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule |
4 | { | 4 | { |
5 | public class Heightmap : IHeightmap | 5 | public class Heightmap : IHeightmap |
6 | { | 6 | { |
7 | private Scene m_scene; | 7 | private Scene m_scene; |
8 | 8 | ||
9 | public Heightmap(Scene scene) | 9 | public Heightmap(Scene scene) |
10 | { | 10 | { |
11 | m_scene = scene; | 11 | m_scene = scene; |
12 | } | 12 | } |
13 | 13 | ||
14 | public int Height | 14 | public int Height |
15 | { | 15 | { |
16 | get { return m_scene.Heightmap.Height; } | 16 | get { return m_scene.Heightmap.Height; } |
17 | } | 17 | } |
18 | 18 | ||
19 | public int Width | 19 | public int Width |
20 | { | 20 | { |
21 | get { return m_scene.Heightmap.Width; } | 21 | get { return m_scene.Heightmap.Width; } |
22 | } | 22 | } |
23 | 23 | ||
24 | public double Get(int x, int y) | 24 | public double Get(int x, int y) |
25 | { | 25 | { |
26 | return m_scene.Heightmap[x, y]; | 26 | return m_scene.Heightmap[x, y]; |
27 | } | 27 | } |
28 | 28 | ||
29 | public void Set(int x, int y, double val) | 29 | public void Set(int x, int y, double val) |
30 | { | 30 | { |
31 | m_scene.Heightmap[x, y] = val; | 31 | m_scene.Heightmap[x, y] = val; |
32 | } | 32 | } |
33 | } | 33 | } |
34 | } | 34 | } |