cleaned up, removed warning under MSVC2005 (Level 4)

Mostly related to alignment and unused variables
This commit is contained in:
ejcoumans
2007-04-13 01:37:21 +00:00
parent 2cf026aae3
commit bc3f9535ad
71 changed files with 348 additions and 125 deletions

View File

@@ -26,7 +26,7 @@ class btCapsuleShape : public btConvexShape
{
public:
btCapsuleShape(float radius,float height);
btCapsuleShape(btScalar radius,btScalar height);
///CollisionShape Interface
virtual void calculateLocalInertia(btScalar mass,btVector3& inertia);
@@ -43,12 +43,12 @@ public:
return "CapsuleShape";
}
float getRadius() const
btScalar getRadius() const
{
return m_implicitShapeDimensions.getX();
}
float getHalfHeight() const
btScalar getHalfHeight() const
{
return m_implicitShapeDimensions.getY();
}