diff options
Diffstat (limited to 'OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs')
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs index f29f42a..e89ff62 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | |||
@@ -1122,6 +1122,21 @@ namespace OpenSim.Region.Terrain | |||
1122 | } | 1122 | } |
1123 | 1123 | ||
1124 | /// <summary> | 1124 | /// <summary> |
1125 | /// Sets a particular heightmap point to a specified value | ||
1126 | /// </summary> | ||
1127 | /// <param name="x">X Coordinate</param> | ||
1128 | /// <param name="y">Y Coordinate</param> | ||
1129 | /// <param name="val">Value</param> | ||
1130 | public void Set(int x, int y, double val) | ||
1131 | { | ||
1132 | lock (heightmap) | ||
1133 | { | ||
1134 | heightmap.Set(x, y, val); | ||
1135 | } | ||
1136 | tainted++; | ||
1137 | } | ||
1138 | |||
1139 | /// <summary> | ||
1125 | /// Raises land in a sphere around the specified coordinates | 1140 | /// Raises land in a sphere around the specified coordinates |
1126 | /// </summary> | 1141 | /// </summary> |
1127 | /// <param name="rx">Center of the sphere on the X axis</param> | 1142 | /// <param name="rx">Center of the sphere on the X axis</param> |