diff options
author | Melanie | 2012-10-18 20:56:34 +0100 |
---|---|---|
committer | Melanie | 2012-10-18 20:56:34 +0100 |
commit | 72c925a6c9eb4dea6f9134db10c3af28ea83df48 (patch) | |
tree | 9f991ade4e71f91fc612759b4e783c9f01a740f3 /OpenSim/Region/Physics/Meshing/Mesh.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Remove redundant and annoyingly modal message box in upload processing. (diff) | |
download | opensim-SC-72c925a6c9eb4dea6f9134db10c3af28ea83df48.zip opensim-SC-72c925a6c9eb4dea6f9134db10c3af28ea83df48.tar.gz opensim-SC-72c925a6c9eb4dea6f9134db10c3af28ea83df48.tar.bz2 opensim-SC-72c925a6c9eb4dea6f9134db10c3af28ea83df48.tar.xz |
Merge branch 'avination' into careminster
Conflicts:
OpenSim/Framework/WebUtil.cs
OpenSim/Region/Physics/OdePlugin/OdeScene.cs
Diffstat (limited to 'OpenSim/Region/Physics/Meshing/Mesh.cs')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Mesh.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Mesh.cs b/OpenSim/Region/Physics/Meshing/Mesh.cs index c715642..6970553 100644 --- a/OpenSim/Region/Physics/Meshing/Mesh.cs +++ b/OpenSim/Region/Physics/Meshing/Mesh.cs | |||
@@ -148,6 +148,12 @@ namespace OpenSim.Region.Physics.Meshing | |||
148 | return Vector3.Zero; | 148 | return Vector3.Zero; |
149 | } | 149 | } |
150 | 150 | ||
151 | // not functional | ||
152 | public Vector3 GetOBB() | ||
153 | { | ||
154 | return new Vector3(0.5f, 0.5f, 0.5f); | ||
155 | } | ||
156 | |||
151 | public void CalcNormals() | 157 | public void CalcNormals() |
152 | { | 158 | { |
153 | int iTriangles = m_triangles.Count; | 159 | int iTriangles = m_triangles.Count; |
@@ -253,6 +259,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
253 | 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) |
254 | { | 260 | { |
255 | // A vertex is 3 floats | 261 | // A vertex is 3 floats |
262 | |||
256 | vertexStride = 3 * sizeof(float); | 263 | vertexStride = 3 * sizeof(float); |
257 | 264 | ||
258 | // 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 |