diff options
author | UbitUmarov | 2012-03-21 00:02:41 +0000 |
---|---|---|
committer | UbitUmarov | 2012-03-21 00:02:41 +0000 |
commit | 8817b6e74cd792808c4bf1d7c125ff3ecace4d89 (patch) | |
tree | 977b2b34bf2d4749d178986cc1305d20f1255c75 /OpenSim/Region/Physics/Meshing | |
parent | added convex decomposition hulls support. Hardcoded to use mesh or this. (so... (diff) | |
download | opensim-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/Meshing')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index c4b245f..5597542 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs | |||
@@ -717,6 +717,11 @@ namespace OpenSim.Region.Physics.Meshing | |||
717 | return CreateMesh(primName, primShape, size, lod, false); | 717 | return CreateMesh(primName, primShape, size, lod, false); |
718 | } | 718 | } |
719 | 719 | ||
720 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex) | ||
721 | { | ||
722 | return CreateMesh(primName, primShape, size, lod, false); | ||
723 | } | ||
724 | |||
720 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical) | 725 | public IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical) |
721 | { | 726 | { |
722 | #if SPAM | 727 | #if SPAM |