use getContactBreakingThreshold in SpuContactResult.cpp

This commit is contained in:
erwin.coumans committed 2012-02-29 02:17:39 +00:00
1 parent 4a76886bb9
commit 14a3e45602
1 file changed
+4 -4
@@ -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;