diff options
Diffstat (limited to 'OpenSim.Terrain.BasicTerrain/TerrainEngine.cs')
-rw-r--r-- | OpenSim.Terrain.BasicTerrain/TerrainEngine.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs index 65ad3ac..f97045a 100644 --- a/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs | |||
@@ -82,6 +82,11 @@ namespace OpenSim.Terrain | |||
82 | return heights; | 82 | return heights; |
83 | } | 83 | } |
84 | 84 | ||
85 | public void setRange(float min, float max) | ||
86 | { | ||
87 | heightmap.normalise((double)min, (double)max); | ||
88 | } | ||
89 | |||
85 | /// <summary> | 90 | /// <summary> |
86 | /// Loads a file consisting of 256x256 doubles and imports it as an array into the map. | 91 | /// Loads a file consisting of 256x256 doubles and imports it as an array into the map. |
87 | /// </summary> | 92 | /// </summary> |