Code cleanup
[blender.git] / intern / rigidbody / rb_bullet_api.cpp
index f3d159d67efea12bcf9cd85ae0e1eeb7f8722aec..17bb38179080fd6d6f8d8611604e70c3ee36096f 100644 (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;
 }