diff options
Diffstat (limited to 'OpenSim.Terrain.BasicTerrain')
-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 f97045a..0b066aa 100644 --- a/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim.Terrain.BasicTerrain/TerrainEngine.cs | |||
@@ -219,6 +219,11 @@ namespace OpenSim.Terrain | |||
219 | } | 219 | } |
220 | } | 220 | } |
221 | 221 | ||
222 | public static TerrainEngine operator *(TerrainEngine meep, Double val) { | ||
223 | meep.heightmap *= val; | ||
224 | return meep; | ||
225 | } | ||
226 | |||
222 | public float this[int x, int y] | 227 | public float this[int x, int y] |
223 | { | 228 | { |
224 | get | 229 | get |