fix build for Intel Compiler 11.1 -> move static ::getFixedBody method from header to cpp file.

This commit is contained in:
erwin.coumans
2010-09-08 00:38:15 +00:00
parent b041c3d266
commit c296122e4e
7 changed files with 24 additions and 21 deletions

View File

@@ -186,7 +186,7 @@ public:
btTransformUtil::calculateVelocityQuaternion(m_posB,toPosB,m_ornB,toOrnB,btScalar(1.),linVelB,angVelB);
btScalar maxAngularProjectedVelocity = angVelA.length() * m_boundingRadiusA + angVelB.length() * m_boundingRadiusB;
btVector3 relLinVel = (linVelB-linVelA);
btScalar relLinVelocLength = (linVelB-linVelA).dot(m_separatingNormal);
btScalar relLinVelocLength = relLinVel.dot(m_separatingNormal);
if (relLinVelocLength<0.f)
{
relLinVelocLength = 0.f;