diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Bitmap/Bitmap.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.cs | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Bitmap/Bitmap.cs b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Bitmap/Bitmap.cs index 8b5fbed..c40229f 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Bitmap/Bitmap.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Bitmap/Bitmap.cs | |||
@@ -33,8 +33,6 @@ namespace libTerrain | |||
33 | { | 33 | { |
34 | internal class Raster | 34 | internal class Raster |
35 | { | 35 | { |
36 | private int w; | ||
37 | private int h; | ||
38 | private Bitmap bmp; | 36 | private Bitmap bmp; |
39 | 37 | ||
40 | /// <summary> | 38 | /// <summary> |
@@ -44,8 +42,6 @@ namespace libTerrain | |||
44 | /// <param name="height">Height in pixels</param> | 42 | /// <param name="height">Height in pixels</param> |
45 | public Raster(int width, int height) | 43 | public Raster(int width, int height) |
46 | { | 44 | { |
47 | w = width; | ||
48 | h = height; | ||
49 | bmp = new Bitmap(width, height, PixelFormat.Format24bppRgb); | 45 | bmp = new Bitmap(width, height, PixelFormat.Format24bppRgb); |
50 | } | 46 | } |
51 | 47 | ||
diff --git a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.cs b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.cs index 0159b87..825d175 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Generators/Voronoi.cs | |||
@@ -106,7 +106,6 @@ namespace libTerrain | |||
106 | { | 106 | { |
107 | SetDiff(); | 107 | SetDiff(); |
108 | 108 | ||
109 | Random generator = new Random(seed); | ||
110 | int x, y, i; | 109 | int x, y, i; |
111 | double[] distances = new double[points.Count]; | 110 | double[] distances = new double[points.Count]; |
112 | 111 | ||