aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Meshing/Mesh.cs
diff options
context:
space:
mode:
authorubit2012-10-09 05:32:58 +0200
committerubit2012-10-09 05:32:58 +0200
commitd35a0b63e2e069bb13295c915f94d2e51cd464a5 (patch)
tree9da16c57ee32202c17c4339102f8ac89511fb039 /OpenSim/Region/Physics/Meshing/Mesh.cs
parentMerge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff)
parent force allocation of mesh data on creation ( messy code version ) (diff)
downloadopensim-SC-d35a0b63e2e069bb13295c915f94d2e51cd464a5.zip
opensim-SC-d35a0b63e2e069bb13295c915f94d2e51cd464a5.tar.gz
opensim-SC-d35a0b63e2e069bb13295c915f94d2e51cd464a5.tar.bz2
opensim-SC-d35a0b63e2e069bb13295c915f94d2e51cd464a5.tar.xz
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Region/Physics/Meshing/Mesh.cs')
-rw-r--r--OpenSim/Region/Physics/Meshing/Mesh.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Mesh.cs b/OpenSim/Region/Physics/Meshing/Mesh.cs
index c03f18b..6970553 100644
--- a/OpenSim/Region/Physics/Meshing/Mesh.cs
+++ b/OpenSim/Region/Physics/Meshing/Mesh.cs
@@ -259,6 +259,7 @@ namespace OpenSim.Region.Physics.Meshing
259 public void getVertexListAsPtrToFloatArray(out IntPtr vertices, out int vertexStride, out int vertexCount) 259 public void getVertexListAsPtrToFloatArray(out IntPtr vertices, out int vertexStride, out int vertexCount)
260 { 260 {
261 // A vertex is 3 floats 261 // A vertex is 3 floats
262
262 vertexStride = 3 * sizeof(float); 263 vertexStride = 3 * sizeof(float);
263 264
264 // If there isn't an unmanaged array allocated yet, do it now 265 // If there isn't an unmanaged array allocated yet, do it now