Assorted cleanup of compilation warnings. Also fixed some actual errors:

#include "renderTexture.h"...when the file is actually called 'RenderTexture.h'.
This commit is contained in:
sjbaker
2006-10-01 00:08:09 +00:00
parent 62bdd2bde2
commit 2aaab1ab1a
15 changed files with 30 additions and 42 deletions

View File

@@ -52,11 +52,8 @@ void ConstraintDemo::initPhysics()
{
//ConstraintSolver* solver = new btSequentialImpulseConstraintSolver;
//ConstraintSolver* solver = new OdeConstraintSolver;
btCollisionDispatcher* dispatcher = new btCollisionDispatcher();
btOverlappingPairCache* broadphase = new btSimpleBroadphase();
//btCollisionDispatcher* dispatcher = new btCollisionDispatcher();
//btOverlappingPairCache* broadphase = new btSimpleBroadphase();
m_dynamicsWorld = new btDiscreteDynamicsWorld();
@@ -80,8 +77,6 @@ void ConstraintDemo::initPhysics()
clientResetScene();
{
int constraintId;
btVector3 pivotInA(CUBE_HALF_EXTENTS,-CUBE_HALF_EXTENTS,-CUBE_HALF_EXTENTS);
btVector3 axisInA(0,0,1);
@@ -110,7 +105,6 @@ void ConstraintDemo::clientMoveAndDisplay()
glFlush();
glutSwapBuffers();
}