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
9292 // dQ = Q1 * Q0^
9393 btQuaternion deltaQ = target * bodyRotation.inverse();
9494 float angle = deltaQ.getAngle();
95− const float MIN_ANGLE = 1.0e-4;
95+ const float MIN_ANGLE = 1.0e-4f;
9696 if (angle > MIN_ANGLE) {
9797 targetVelocity = (angle / _angularTimeScale) * deltaQ.getAxis();
9898 }