Cleaned up some compile-time warnings.

This commit is contained in:
sjbaker
2006-11-04 15:34:56 +00:00
parent 23c64fb0db
commit 6c61060339
7 changed files with 15 additions and 16 deletions

View File

@@ -186,13 +186,13 @@ void ConvexDecompositionDemo::initPhysics(const char* filename)
}
}
bool isDynamic = true;
float mass = 1.f;
btCollisionShape* convexShape = new btConvexTriangleMeshShape(trimesh);
btTransform trans;
trans.setIdentity();
trans.setOrigin(centroid);
btRigidBody* body = m_convexDemo->localCreateRigidBody( mass, trans,convexShape);
//btRigidBody* body = m_convexDemo->localCreateRigidBody( mass, trans,convexShape);
m_convexDemo->localCreateRigidBody( mass, trans,convexShape);
mBaseCount+=result.mHullVcount; // advance the 'base index' counter.
@@ -229,7 +229,6 @@ void ConvexDecompositionDemo::initPhysics(const char* filename)
}
btCollisionShape* convexShape = new btConvexTriangleMeshShape(trimesh);
bool isDynamic = true;
float mass = 1.f;
btTransform startTransform;