Make BenchmarkDemo a console application, without OpenGL/Glut dependency.

Fix potential division by zero when enabling convex distance utility.
Thanks to linzner http://code.google.com/p/bullet/issues/detail?id=264
This commit is contained in:
erwin.coumans
2009-08-12 08:18:57 +00:00
parent ae3255f5e9
commit e89fe1cbfa
17 changed files with 152 additions and 90 deletions

View File

@@ -5,7 +5,6 @@
#include "GLDebugDrawer.h"
#include "btBulletDynamicsCommon.h"
#ifndef _WINDOWS
GLDebugDrawer gDebugDrawer;
@@ -31,10 +30,3 @@ int main(int argc,char** argv)
return 0;
}
#else
DemoApplication* createDemo()
{
ConvexDecompositionDemo* convexDecompDemo = new ConvexDecompositionDemo();
return convexDecompDemo;
}
#endif _WINDOWS