mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Add PrismaticJoint:getMaxMotorForce
--HG-- branch : box2d-update
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user