diff options
Diffstat (limited to 'PhysX_3.4/Source/GeomUtils/src/pcm/GuPCMContactConvexHeightField.cpp')
| -rw-r--r-- | PhysX_3.4/Source/GeomUtils/src/pcm/GuPCMContactConvexHeightField.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/PhysX_3.4/Source/GeomUtils/src/pcm/GuPCMContactConvexHeightField.cpp b/PhysX_3.4/Source/GeomUtils/src/pcm/GuPCMContactConvexHeightField.cpp index 6901a5c3..45bec74c 100644 --- a/PhysX_3.4/Source/GeomUtils/src/pcm/GuPCMContactConvexHeightField.cpp +++ b/PhysX_3.4/Source/GeomUtils/src/pcm/GuPCMContactConvexHeightField.cpp @@ -75,12 +75,13 @@ public: Gu::ContactBuffer& contactBuffer, Gu::HeightFieldUtil& hfUtil, Ps::InlineArray<PxU32,LOCAL_CONTACTS_SIZE>* delayedContacts, + bool silhouetteEdgesAreActive, Cm::RenderOutput* renderOutput = NULL ) : PCMHeightfieldContactGenerationCallback< PCMConvexVsHeightfieldContactGenerationCallback >(hfUtil, heightfieldTransform1), mGeneration(contactDistance, replaceBreakingThreshold, convexTransform, heightfieldTransform, multiManifold, - contactBuffer, polyData, polyMap, delayedContacts, convexScaling, idtConvexScale, renderOutput) + contactBuffer, polyData, polyMap, delayedContacts, convexScaling, idtConvexScale, silhouetteEdgesAreActive, renderOutput) { } @@ -156,6 +157,7 @@ bool Gu::PCMContactConvexHeightfield( contactBuffer, hfUtil, &delayedContacts, + !(hf.getFlags() & PxHeightFieldFlag::eNO_BOUNDARY_EDGES), renderOutput ); |