remove some warnings

This commit is contained in:
erwin.coumans
2010-07-20 23:37:11 +00:00
parent f3664551b5
commit 4eddfce03e
6 changed files with 11 additions and 8 deletions

View File

@@ -169,7 +169,8 @@ void SliderConstraintDemo::initPhysics()
btTransform groundTransform;
groundTransform.setIdentity();
groundTransform.setOrigin(btVector3(0,-76,0));
btRigidBody* groundBody = localCreateRigidBody(0, groundTransform, groundShape);
btRigidBody* groundBody;
groundBody = localCreateRigidBody(0, groundTransform, groundShape);
// add box shape (will be reused for all bodies)
btCollisionShape* shape = new btBoxShape(btVector3(CUBE_HALF_EXTENTS,CUBE_HALF_EXTENTS,CUBE_HALF_EXTENTS));