updated to make projects compiler under double precision. GIMPACT compiles/links, but doesn't work properly.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user