mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Merge default into minor.
--HG-- branch : minor
This commit is contained in:
@@ -61,6 +61,10 @@ float RopeJoint::getMaxLength() const
|
||||
return Physics::scaleUp(joint->GetMaxLength());
|
||||
}
|
||||
|
||||
void RopeJoint::setMaxLength(float maxLength)
|
||||
{
|
||||
joint->SetMaxLength(Physics::scaleDown(maxLength));
|
||||
}
|
||||
|
||||
} // box2d
|
||||
} // physics
|
||||
|
||||
Reference in New Issue
Block a user