aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.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/Voronoi.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/Voronoi.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.cs b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.cs
index fdd369b..e973d14 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.cs
@@ -42,7 +42,7 @@ namespace libTerrain
42 /// <param name="blockSize">A multiple of the channel width and height which will have voronoi points generated in it. 42 /// <param name="blockSize">A multiple of the channel width and height which will have voronoi points generated in it.
43 /// <para>This is to ensure a more even distribution of the points than pure random allocation.</para></param> 43 /// <para>This is to ensure a more even distribution of the points than pure random allocation.</para></param>
44 /// <param name="c">The Voronoi diagram type. Usually an array with values consisting of [-1,1]. Experiment with the chain, you can have as many values as you like.</param> 44 /// <param name="c">The Voronoi diagram type. Usually an array with values consisting of [-1,1]. Experiment with the chain, you can have as many values as you like.</param>
45 public void voronoiDiagram(int pointsPerBlock, int blockSize, double[] c) 45 public void VoronoiDiagram(int pointsPerBlock, int blockSize, double[] c)
46 { 46 {
47 List<Point2D> points = new List<Point2D>(); 47 List<Point2D> points = new List<Point2D>();
48 Random generator = new Random(seed); 48 Random generator = new Random(seed);
@@ -98,10 +98,10 @@ namespace libTerrain
98 } 98 }
99 99
100 // Normalise the result 100 // Normalise the result
101 normalise(); 101 Normalise();
102 } 102 }
103 103
104 public void voronoiDiagram(List<Point2D> points, double[] c) 104 public void VoronoiDiagram(List<Point2D> points, double[] c)
105 { 105 {
106 106
107 Random generator = new Random(seed); 107 Random generator = new Random(seed);
@@ -141,10 +141,10 @@ namespace libTerrain
141 } 141 }
142 142
143 // Normalise the result 143 // Normalise the result
144 normalise(); 144 Normalise();
145 } 145 }
146 146
147 public void voroflatDiagram(int pointsPerBlock, int blockSize) 147 public void VoroflatDiagram(int pointsPerBlock, int blockSize)
148 { 148 {
149 List<Point2D> points = new List<Point2D>(); 149 List<Point2D> points = new List<Point2D>();
150 Random generator = new Random(seed); 150 Random generator = new Random(seed);
@@ -203,7 +203,7 @@ namespace libTerrain
203 } 203 }
204 204
205 // Normalise the result 205 // Normalise the result
206 normalise(); 206 Normalise();
207 } 207 }
208 } 208 }
209} 209}