updated to make projects compiler under double precision. GIMPACT compiles/links, but doesn't work properly.

This commit is contained in:
ejcoumans
2007-07-26 03:44:21 +00:00
parent bf967a458a
commit 49aa535be9
3 changed files with 6 additions and 6 deletions

View File

@@ -345,7 +345,7 @@ void btHingeConstraint::solveConstraint(btScalar timeStep)
// Clamp the accumulated impulse
btScalar temp = m_accLimitImpulse;
m_accLimitImpulse = btMax(m_accLimitImpulse + impulseMag, 0.0f );
m_accLimitImpulse = btMax(m_accLimitImpulse + impulseMag, btScalar(0) );
impulseMag = m_accLimitImpulse - temp;