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

@@ -63,7 +63,6 @@ public:
if (vertices.size() > 0)
{
bool isDynamic = false;
float mass = 0.f;
btTransform startTransform;
//can use a shift
@@ -72,7 +71,8 @@ public:
//this create an internal copy of the vertices
btCollisionShape* shape = new btConvexHullShape(&(vertices[0].getX()),vertices.size());
btRigidBody* body = m_demoApp->localCreateRigidBody(mass, startTransform,shape);
//btRigidBody* body = m_demoApp->localCreateRigidBody(mass, startTransform,shape);
m_demoApp->localCreateRigidBody(mass, startTransform,shape);
}
}
};