Fixed over 500 compile warnings. Mostly:
* Unused variables. * Missing newlines at ends of #included files. * signed int loop variables where the termination condition is an unsigned 'get number of' function. * 'NULL' used inappropriately for an integer or character constant (NULL is a pointer) * abstract base classes with no virtual destructor. * Floating point constants used to initialise integer variables.
This commit is contained in:
@@ -164,7 +164,7 @@ void ConcaveDemo::initPhysics()
|
||||
|
||||
|
||||
|
||||
ConstraintSolver* solver = new SequentialImpulseConstraintSolver;
|
||||
// ConstraintSolver* solver = new SequentialImpulseConstraintSolver;
|
||||
|
||||
CollisionDispatcher* dispatcher = new CollisionDispatcher();
|
||||
|
||||
@@ -188,7 +188,7 @@ void ConcaveDemo::initPhysics()
|
||||
{
|
||||
CollisionShape* boxShape = new BoxShape(SimdVector3(1,1,1));
|
||||
startTransform.setOrigin(SimdVector3(2*i,1,1));
|
||||
CcdPhysicsController* boxRigidBody = LocalCreatePhysicsObject(true, 1, startTransform,boxShape);
|
||||
LocalCreatePhysicsObject(true, 1, startTransform,boxShape);
|
||||
}
|
||||
}
|
||||
m_physicsEnvironmentPtr->setGravity(-1,-10,1);
|
||||
|
||||
Reference in New Issue
Block a user