aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/HillPlanter.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-07-24 05:22:33 +0000
committerAdam Frisby2007-07-24 05:22:33 +0000
commitd8997b59d30b63218f594d840d924a10287ce509 (patch)
treef96960b2605c8da0d6b0a0d9a905db28a62fca67 /OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/HillPlanter.cs
parent* Terrain Fracture Generator now produces more appropriate results. (diff)
downloadopensim-SC_OLD-d8997b59d30b63218f594d840d924a10287ce509.zip
opensim-SC_OLD-d8997b59d30b63218f594d840d924a10287ce509.tar.gz
opensim-SC_OLD-d8997b59d30b63218f594d840d924a10287ce509.tar.bz2
opensim-SC_OLD-d8997b59d30b63218f594d840d924a10287ce509.tar.xz
* Terrain should now send just updated patches.
Diffstat (limited to 'OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/HillPlanter.cs')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/HillPlanter.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/HillPlanter.cs b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/HillPlanter.cs
index 3b8e963..5a697b1 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/HillPlanter.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/HillPlanter.cs
@@ -46,6 +46,8 @@ namespace libTerrain
46 /// <param name="noisy">Generates hill-shaped noise instead of consistent hills</param> 46 /// <param name="noisy">Generates hill-shaped noise instead of consistent hills</param>
47 public void HillsSpheres(int number, double scale_min, double scale_range, bool island, bool additive, bool noisy) 47 public void HillsSpheres(int number, double scale_min, double scale_range, bool island, bool additive, bool noisy)
48 { 48 {
49 SetDiff();
50
49 Random random = new Random(seed); 51 Random random = new Random(seed);
50 52
51 int x, y; 53 int x, y;
@@ -110,6 +112,8 @@ namespace libTerrain
110 /// <param name="noisy">Generates hill-shaped noise instead of consistent hills</param> 112 /// <param name="noisy">Generates hill-shaped noise instead of consistent hills</param>
111 public void HillsCones(int number, double scale_min, double scale_range, bool island, bool additive, bool noisy) 113 public void HillsCones(int number, double scale_min, double scale_range, bool island, bool additive, bool noisy)
112 { 114 {
115 SetDiff();
116
113 Random random = new Random(seed); 117 Random random = new Random(seed);
114 118
115 int x, y; 119 int x, y;
@@ -163,6 +167,8 @@ namespace libTerrain
163 167
164 public void HillsBlocks(int number, double scale_min, double scale_range, bool island, bool additive, bool noisy) 168 public void HillsBlocks(int number, double scale_min, double scale_range, bool island, bool additive, bool noisy)
165 { 169 {
170 SetDiff();
171
166 Random random = new Random(seed); 172 Random random = new Random(seed);
167 173
168 int x, y; 174 int x, y;
@@ -217,6 +223,8 @@ namespace libTerrain
217 223
218 public void HillsSquared(int number, double scale_min, double scale_range, bool island, bool additive, bool noisy) 224 public void HillsSquared(int number, double scale_min, double scale_range, bool island, bool additive, bool noisy)
219 { 225 {
226 SetDiff();
227
220 Random random = new Random(seed); 228 Random random = new Random(seed);
221 229
222 int x, y; 230 int x, y;