aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager/ZeroMesher.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-03-21 00:02:41 +0000
committerUbitUmarov2012-03-21 00:02:41 +0000
commit8817b6e74cd792808c4bf1d7c125ff3ecace4d89 (patch)
tree977b2b34bf2d4749d178986cc1305d20f1255c75 /OpenSim/Region/Physics/Manager/ZeroMesher.cs
parent added convex decomposition hulls support. Hardcoded to use mesh or this. (so... (diff)
downloadopensim-SC-8817b6e74cd792808c4bf1d7c125ff3ecace4d89.zip
opensim-SC-8817b6e74cd792808c4bf1d7c125ff3ecace4d89.tar.gz
opensim-SC-8817b6e74cd792808c4bf1d7c125ff3ecace4d89.tar.bz2
opensim-SC-8817b6e74cd792808c4bf1d7c125ff3ecace4d89.tar.xz
let convex be a parameter to createMesh so it can be used. Was forced to add it also to original mesher code and zeromesher
Diffstat (limited to 'OpenSim/Region/Physics/Manager/ZeroMesher.cs')
-rw-r--r--OpenSim/Region/Physics/Manager/ZeroMesher.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/ZeroMesher.cs b/OpenSim/Region/Physics/Manager/ZeroMesher.cs
index ba19db6..8a3b50b 100644
--- a/OpenSim/Region/Physics/Manager/ZeroMesher.cs
+++ b/OpenSim/Region/Physics/Manager/ZeroMesher.cs
@@ -67,6 +67,11 @@ namespace OpenSim.Region.Physics.Manager
67 return CreateMesh(primName, primShape, size, lod, false); 67 return CreateMesh(primName, primShape, size, lod, false);
68 } 68 }
69 69
70 public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex)
71 {
72 return CreateMesh(primName, primShape, size, lod, false);
73 }
74
70 public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical) 75 public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical)
71 { 76 {
72 // Remove the reference to the encoded JPEG2000 data so it can be GCed 77 // Remove the reference to the encoded JPEG2000 data so it can be GCed