History

quiet compiler

Seth Alves committed 11 years ago

Commit b25f6df1 parent d6322904 files · +4 −4Browse files

Showing the changes to libraries/physics/src/ObjectActionSpring.cpp (1 of 4 files). Show all

Unified · Split

libraries/physics/src/ObjectActionSpring.cpp+1−1
@@ -92,7 +92,7 @@ void ObjectActionSpring::updateActionWorker(btScalar deltaTimeStep) { · 91 unmodified lines
92 // dQ = Q1 * Q0^92 // dQ = Q1 * Q0^
93 btQuaternion deltaQ = target * bodyRotation.inverse();93 btQuaternion deltaQ = target * bodyRotation.inverse();
94 float angle = deltaQ.getAngle();94 float angle = deltaQ.getAngle();
95 const float MIN_ANGLE = 1.0e-4;95 const float MIN_ANGLE = 1.0e-4f;
96 if (angle > MIN_ANGLE) {96 if (angle > MIN_ANGLE) {
97 targetVelocity = (angle / _angularTimeScale) * deltaQ.getAxis();97 targetVelocity = (angle / _angularTimeScale) * deltaQ.getAxis();
98 }98 }