use getContactBreakingThreshold in SpuContactResult.cpp

This commit is contained in:
erwin.coumans
2012-02-29 02:17:39 +00:00
parent 4a76886bb9
commit 14a3e45602

View File

@@ -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;