make Body::applyForce(fx, fy) semantically clearer

This commit is contained in:
Bill Meltsner
2012-02-04 19:09:20 -05:00
parent 4aa3939311
commit fae16c712d
+1 -1
View File
@@ -196,7 +196,7 @@ namespace box2d
void Body::applyForce(float fx, float fy)
{
body->ApplyForce(Physics::scaleDown(b2Vec2(fx, fy)), body->GetWorldCenter());
body->ApplyForceToCenter(Physics::scaleDown(b2Vec2(fx, fy)));
}
void Body::setX(float x)