From 3cc1861221d761b7f0301b9b61de4e1aa18c09f4 Mon Sep 17 00:00:00 2001 From: Sheikh Dawood Abdul Ajees Date: Mon, 20 Nov 2017 11:35:52 -0600 Subject: PhysX 3.4.1, APEX 1.4.1 Release @23131702 --- PhysX_3.4/Source/GeomUtils/src/pcm/GuPCMTriangleContactGen.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'PhysX_3.4/Source/GeomUtils/src/pcm/GuPCMTriangleContactGen.cpp') diff --git a/PhysX_3.4/Source/GeomUtils/src/pcm/GuPCMTriangleContactGen.cpp b/PhysX_3.4/Source/GeomUtils/src/pcm/GuPCMTriangleContactGen.cpp index 7a0e68a2..5f0b20a2 100644 --- a/PhysX_3.4/Source/GeomUtils/src/pcm/GuPCMTriangleContactGen.cpp +++ b/PhysX_3.4/Source/GeomUtils/src/pcm/GuPCMTriangleContactGen.cpp @@ -1154,10 +1154,10 @@ namespace physx { //ML : defer the contacts generation const PxU32 nb = sizeof(PCMDeferredPolyData)/sizeof(PxU32); - PxU32 newSize = nb + mDeferredContacts.size(); - mDeferredContacts.reserve(newSize); - PCMDeferredPolyData* PX_RESTRICT data = reinterpret_cast(mDeferredContacts.end()); - mDeferredContacts.forceSize_Unsafe(newSize); + PxU32 newSize = nb + mDeferredContacts->size(); + mDeferredContacts->reserve(newSize); + PCMDeferredPolyData* PX_RESTRICT data = reinterpret_cast(mDeferredContacts->end()); + mDeferredContacts->forceSize_Unsafe(newSize); data->mTriangleIndex = triangleIndex; data->mFeatureIndex = feature1; -- cgit v1.2.3