disable adhoc gjk terminarion heuristics by default

This commit is contained in:
Erwin Coumans
2018-05-26 08:52:52 +10:00
parent d133c33d73
commit e79ae13cde

View File

@@ -32,7 +32,7 @@ subject to the following restrictions:
//must be above the machine epsilon //must be above the machine epsilon
#ifdef BT_USE_DOUBLE_PRECISION #ifdef BT_USE_DOUBLE_PRECISION
#define REL_ERROR2 btScalar(1.0e-12) #define REL_ERROR2 btScalar(1.0e-12)
btScalar gGjkEpaPenetrationTolerance = 1e-7; btScalar gGjkEpaPenetrationTolerance = BT_LARGE_FLOAT;
#else #else
#define REL_ERROR2 btScalar(1.0e-6) #define REL_ERROR2 btScalar(1.0e-6)
btScalar gGjkEpaPenetrationTolerance = BT_LARGE_FLOAT; btScalar gGjkEpaPenetrationTolerance = BT_LARGE_FLOAT;