Code cleanup

This commit is contained in:
Campbell Barton
2014-07-18 11:54:09 +10:00
parent 6a58557794
commit a04a8039f0
4 changed files with 9 additions and 9 deletions

View File

@@ -390,7 +390,7 @@ float RB_body_get_mass(rbRigidBody *object)
float value = (float)body->getInvMass();
if (value)
value = 1.0 / value;
value = 1.0f / value;
return value;
}