mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Fix a lot of scaling issues
--HG-- branch : box2d-update
This commit is contained in:
@@ -63,12 +63,12 @@ namespace box2d
|
||||
|
||||
void MouseJoint::setMaxForce(float force)
|
||||
{
|
||||
joint->SetMaxForce(force);
|
||||
joint->SetMaxForce(Physics::scaleDown(force));
|
||||
}
|
||||
|
||||
float MouseJoint::getMaxForce() const
|
||||
{
|
||||
return joint->GetMaxForce();
|
||||
return Physics::scaleUp(joint->GetMaxForce());
|
||||
}
|
||||
|
||||
void MouseJoint::setFrequency(float hz)
|
||||
|
||||
Reference in New Issue
Block a user