diff options
Diffstat (limited to 'OpenSim/Region/Physics/UbitMeshing/Mesh.cs')
-rw-r--r-- | OpenSim/Region/Physics/UbitMeshing/Mesh.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/UbitMeshing/Mesh.cs b/OpenSim/Region/Physics/UbitMeshing/Mesh.cs index 0727802..98c0f0b 100644 --- a/OpenSim/Region/Physics/UbitMeshing/Mesh.cs +++ b/OpenSim/Region/Physics/UbitMeshing/Mesh.cs | |||
@@ -37,6 +37,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
37 | { | 37 | { |
38 | public class Mesh : IMesh | 38 | public class Mesh : IMesh |
39 | { | 39 | { |
40 | |||
40 | private Dictionary<Vertex, int> m_vertices; | 41 | private Dictionary<Vertex, int> m_vertices; |
41 | private List<Triangle> m_triangles; | 42 | private List<Triangle> m_triangles; |
42 | GCHandle m_pinnedVertexes; | 43 | GCHandle m_pinnedVertexes; |
@@ -47,7 +48,8 @@ namespace OpenSim.Region.Physics.Meshing | |||
47 | int m_indexCount = 0; | 48 | int m_indexCount = 0; |
48 | public float[] m_normals; | 49 | public float[] m_normals; |
49 | Vector3 m_centroid; | 50 | Vector3 m_centroid; |
50 | int m_centroidDiv; | 51 | int m_centroidDiv; |
52 | |||
51 | 53 | ||
52 | private class vertexcomp : IEqualityComparer<Vertex> | 54 | private class vertexcomp : IEqualityComparer<Vertex> |
53 | { | 55 | { |
@@ -79,7 +81,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
79 | 81 | ||
80 | public int RefCount { get; set; } | 82 | public int RefCount { get; set; } |
81 | 83 | ||
82 | public ulong Key { get; set; } | 84 | public AMeshKey Key { get; set; } |
83 | 85 | ||
84 | public void Scale(Vector3 scale) | 86 | public void Scale(Vector3 scale) |
85 | { | 87 | { |