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 committed 2009-05-09 19:27:14 +00:00
1 parent 7a210546cf
commit 33029ad996
129 files changed
+8576 -2184

No files matched your search

+2 -1
View File
@@ -489,12 +489,13 @@ void Raytracer::displayCallback()
extern BMF_FontData BMF_font_helv10;
#if 0
raytracePicture->grapicalPrintf("CCD RAYTRACER",&BMF_font_helv10);
char buffer[256];
sprintf(buffer,"%d RAYS / Frame",screenWidth*screenHeight*numObjects);
raytracePicture->grapicalPrintf(buffer,&BMF_font_helv10,0,10);
#endif
glMatrixMode(GL_PROJECTION);
glPushMatrix();
+2 -2
View File
@@ -15,7 +15,7 @@ subject to the following restrictions:
#ifndef RAYTRACER_H
#define RAYTRACER_H
#include "DemoApplication.h"
#include "GlutDemoApplication.h"
class btDefaultCollisionConfiguration;
class btCollisionDispatcher;
@@ -23,7 +23,7 @@ class btAxisSweep3;
class btCollisionWorld;
///Raytracer shows the inner working of the ray casting, using ray tracing rendering into a texture.
class Raytracer : public DemoApplication
class Raytracer : public GlutDemoApplication
{
btDefaultCollisionConfiguration* m_collisionConfiguration;