diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Neighbours.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Neighbours.cs b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Neighbours.cs index cb63d21..6dc2e30 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Neighbours.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/libTerrainBSD/Channel/Neighbours.cs | |||
@@ -34,13 +34,13 @@ namespace libTerrain | |||
34 | { | 34 | { |
35 | partial class Channel | 35 | partial class Channel |
36 | { | 36 | { |
37 | enum NEIGHBOURS | 37 | enum NeighbourSystem |
38 | { | 38 | { |
39 | NEIGHBOUR_MOORE, | 39 | Moore, |
40 | NEIGHBOUR_VONNEUMANN | 40 | VonNeumann |
41 | }; | 41 | }; |
42 | 42 | ||
43 | private int[] neighbours(NEIGHBOURS type, int index) | 43 | private int[] Neighbours(NeighbourSystem type, int index) |
44 | { | 44 | { |
45 | int[] coord = new int[2]; | 45 | int[] coord = new int[2]; |
46 | 46 | ||
@@ -48,7 +48,7 @@ namespace libTerrain | |||
48 | 48 | ||
49 | switch (type) | 49 | switch (type) |
50 | { | 50 | { |
51 | case NEIGHBOURS.NEIGHBOUR_MOORE: | 51 | case NeighbourSystem.Moore: |
52 | switch (index) | 52 | switch (index) |
53 | { | 53 | { |
54 | case 1: | 54 | case 1: |
@@ -101,7 +101,7 @@ namespace libTerrain | |||
101 | } | 101 | } |
102 | break; | 102 | break; |
103 | 103 | ||
104 | case NEIGHBOURS.NEIGHBOUR_VONNEUMANN: | 104 | case NeighbourSystem.VonNeumann: |
105 | switch (index) | 105 | switch (index) |
106 | { | 106 | { |
107 | case 1: | 107 | case 1: |