made 'calculateLocalInertia' const, thanks to cgripeos, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1514

- applied a large patch to remove warnings
Thanks to Enrico, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1568
- removed SSE includes, added #incude <string.h> for memset in Extras/quickstep, thanks Eternl Knight
- disabled 16-byte alignement on btQuadWord class, it causes problems under PS3 Linux. Need to check out why.
This commit is contained in:
ejcoumans
2007-10-13 23:41:37 +00:00
parent 0aff20fc94
commit ea3dfb4ca3
66 changed files with 149 additions and 146 deletions

View File

@@ -116,7 +116,7 @@ public:
planeSupport = m_vertices1[0];
}
virtual void calculateLocalInertia(btScalar mass,btVector3& inertia)
virtual void calculateLocalInertia(btScalar mass,btVector3& inertia) const
{
(void)mass;
btAssert(0);
@@ -155,7 +155,7 @@ public:
return false;
}
//debugging
virtual char* getName()const
virtual const char* getName()const
{
return "Triangle";
}