mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Rename PrismaticJoint/RevoluteJoint:hasLimitsEnabled to areLimitsEnabled and deprecate the old methods (resolves issue #1324).
--HG-- branch : minor
This commit is contained in:
@@ -116,7 +116,7 @@ void RevoluteJoint::setLimitsEnabled(bool enable)
|
||||
joint->EnableLimit(enable);
|
||||
}
|
||||
|
||||
bool RevoluteJoint::hasLimitsEnabled() const
|
||||
bool RevoluteJoint::areLimitsEnabled() const
|
||||
{
|
||||
return joint->IsLimitEnabled();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user