Added faster and more robust support for btStaticPlaneShape

This commit is contained in:
ejcoumans
2007-12-11 23:13:29 +00:00
parent 66cdbb9659
commit a7e04dbdc2
7 changed files with 220 additions and 10 deletions

View File

@@ -15,14 +15,17 @@ subject to the following restrictions:
#include "BasicDemo.h"
#include "GlutStuff.h"
#include "GLDebugDrawer.h"
#include "btBulletDynamicsCommon.h"
//#define CHECK_MEMORY_LEAKS 1
int main(int argc,char** argv)
{
GLDebugDrawer gDebugDrawer;
BasicDemo ccdDemo;
ccdDemo.initPhysics();
ccdDemo.getDynamicsWorld()->setDebugDrawer(&gDebugDrawer);
#ifdef CHECK_MEMORY_LEAKS