diff options
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOdeMeshing/Mesh.cs')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOdeMeshing/Mesh.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Mesh.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Mesh.cs index da8f623..b860255 100644 --- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Mesh.cs +++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Mesh.cs | |||
@@ -278,6 +278,16 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
278 | return new Vector3(x, y, z); | 278 | return new Vector3(x, y, z); |
279 | } | 279 | } |
280 | 280 | ||
281 | public int numberVertices() | ||
282 | { | ||
283 | return m_bdata.m_vertices.Count; | ||
284 | } | ||
285 | |||
286 | public int numberTriangles() | ||
287 | { | ||
288 | return m_bdata.m_triangles.Count; | ||
289 | } | ||
290 | |||
281 | public List<Vector3> getVertexList() | 291 | public List<Vector3> getVertexList() |
282 | { | 292 | { |
283 | List<Vector3> result = new List<Vector3>(); | 293 | List<Vector3> result = new List<Vector3>(); |