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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user