From 14a3e456028b19333bdc4bf33b97c215fc10266d Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Wed, 29 Feb 2012 02:17:39 +0000 Subject: [PATCH] use getContactBreakingThreshold in SpuContactResult.cpp --- .../SpuNarrowPhaseCollisionTask/SpuContactResult.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuContactResult.cpp b/src/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuContactResult.cpp index bd71373cf..8584e74c1 100644 --- a/src/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuContactResult.cpp +++ b/src/BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuContactResult.cpp @@ -102,12 +102,12 @@ bool ManifoldResultAddContactPoint(const btVector3& normalOnBInWorld, #ifdef DEBUG_SPU_COLLISION_DETECTION spu_printf("SPU: contactTreshold %f\n",contactTreshold); #endif //DEBUG_SPU_COLLISION_DETECTION - //if (depth > manifoldPtr->getContactBreakingThreshold()) - // return false; - - if (depth > manifoldPtr->getContactProcessingThreshold()) + if (depth > manifoldPtr->getContactBreakingThreshold()) return false; + //if (depth > manifoldPtr->getContactProcessingThreshold()) + // return false; + btVector3 pointA;