updated demos -> ALT + mouse uses Maya-style controls, replaced BMF_Fonts by GLDebugFont

fix debug drawing of btMultiSphereShape
added box2d demo
added experimental gpu 2d demo
This commit is contained in:
erwin.coumans
2009-05-09 19:27:14 +00:00
parent 7a210546cf
commit 33029ad996
129 changed files with 8576 additions and 2184 deletions

View File

@@ -61,7 +61,7 @@ subject to the following restrictions:
#include "LinearMath/btIDebugDraw.h"
#include "BMF_Api.h"
#include "GLDebugFont.h"
#include <stdio.h> //printf debugging
static float gCollisionMargin = 0.05f;

View File

@@ -15,7 +15,7 @@ subject to the following restrictions:
#ifndef CCD_PHYSICS_DEMO_H
#define CCD_PHYSICS_DEMO_H
#include "DemoApplication.h"
#include "GlutDemoApplication.h"
#include "LinearMath/btAlignedObjectArray.h"
class btBroadphaseInterface;
@@ -28,7 +28,7 @@ class btDefaultCollisionConfiguration;
///CcdPhysicsDemo shows basic stacking using Bullet physics, and allows toggle of Ccd (using key '1')
class CcdPhysicsDemo : public DemoApplication
class CcdPhysicsDemo : public GlutDemoApplication
{
//keep the collision shapes, for deletion/cleanup