Merge pull request #1775 from bingjeff/marios_fix_global_variables

remove some debug globals from third_party/bullet
This commit is contained in:
erwincoumans
2018-06-26 08:58:27 -07:00
committed by GitHub
7 changed files with 10 additions and 68 deletions

View File

@@ -291,10 +291,6 @@ void SoftDemo::createStack( btCollisionShape* boxShape, float halfCubeSize, int
////////////////////////////////////
extern int gNumManifold;
extern int gOverlappingPairs;
///for mouse picking
void pickingPreTickCallback (btDynamicsWorld *world, btScalar timeStep)
{
@@ -1727,13 +1723,6 @@ void SoftDemo::clientMoveAndDisplay()
btProfiler::endBlock("render");
#endif
glFlush();
//some additional debugging info
#ifdef PRINT_CONTACT_STATISTICS
printf("num manifolds: %i\n",gNumManifold);
printf("num gOverlappingPairs: %i\n",gOverlappingPairs);
#endif //PRINT_CONTACT_STATISTICS
swapBuffers();