From 52dae55c0c65f42caffa9d803be27be44ac4b8a3 Mon Sep 17 00:00:00 2001 From: Sheikh Dawood Abdul Ajees Date: Mon, 12 Feb 2018 15:31:42 -0600 Subject: PhysX 3.4, APEX 1.4 patch release @23576764 --- PhysX_3.4/Source/GeomUtils/src/pcm/GuPCMContactConvexHeightField.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'PhysX_3.4/Source/GeomUtils/src/pcm/GuPCMContactConvexHeightField.cpp') 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* 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 ); -- cgit v1.2.3