aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Worms.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-07-23 05:29:52 +0000
committerAdam Frisby2007-07-23 05:29:52 +0000
commitb8da9c3a64b84ab14642bad8c79d3b2ed62e62fb (patch)
treede4466ffdf017e140ec3aca9bb52cbe14e5e5b12 /OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Worms.cs
parentCouple of small changes (diff)
downloadopensim-SC_OLD-b8da9c3a64b84ab14642bad8c79d3b2ed62e62fb.zip
opensim-SC_OLD-b8da9c3a64b84ab14642bad8c79d3b2ed62e62fb.tar.gz
opensim-SC_OLD-b8da9c3a64b84ab14642bad8c79d3b2ed62e62fb.tar.bz2
opensim-SC_OLD-b8da9c3a64b84ab14642bad8c79d3b2ed62e62fb.tar.xz
* Major style changes in libTerrain.Channel - now uses .NET-style naming syntax.
* Issue#218 - Updated mySQL region table.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Worms.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Worms.cs b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Worms.cs
index 38c8001..38a8023 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Worms.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Worms.cs
@@ -42,7 +42,7 @@ namespace libTerrain
42 /// <param name="movement">The maximum distance each worm will move each step</param> 42 /// <param name="movement">The maximum distance each worm will move each step</param>
43 /// <param name="size">The size of the area around the worm modified</param> 43 /// <param name="size">The size of the area around the worm modified</param>
44 /// <param name="centerspawn">Do worms start in the middle, or randomly?</param> 44 /// <param name="centerspawn">Do worms start in the middle, or randomly?</param>
45 public void worms(int number, int rounds, double movement, double size, bool centerspawn) 45 public void Worms(int number, int rounds, double movement, double size, bool centerspawn)
46 { 46 {
47 Random random = new Random(seed); 47 Random random = new Random(seed);
48 int i, j; 48 int i, j;
@@ -64,7 +64,7 @@ namespace libTerrain
64 { 64 {
65 rx += (random.NextDouble() * movement) - (movement / 2.0); 65 rx += (random.NextDouble() * movement) - (movement / 2.0);
66 ry += (random.NextDouble() * movement) - (movement / 2.0); 66 ry += (random.NextDouble() * movement) - (movement / 2.0);
67 raise(rx, ry, size, 1.0); 67 Raise(rx, ry, size, 1.0);
68 } 68 }
69 } 69 }
70 } 70 }