Add PrismaticJoint:getMaxMotorForce

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-09-29 11:14:42 -04:00
parent 53cdd0ea7d
commit fa58c87605
6 changed files with 21 additions and 2 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ namespace box2d
return Physics::scaleUp(Physics::scaleUp(joint->GetMotorTorque(inv_dt)));
}
float RevoluteJoint::getMaxMotorTorque()
float RevoluteJoint::getMaxMotorTorque() const
{
return Physics::scaleUp(Physics::scaleUp(joint->GetMaxMotorTorque()));
}