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:
@@ -117,7 +117,7 @@ void PrismaticJoint::setLimitsEnabled(bool enable)
|
||||
joint->EnableLimit(enable);
|
||||
}
|
||||
|
||||
bool PrismaticJoint::hasLimitsEnabled() const
|
||||
bool PrismaticJoint::areLimitsEnabled() const
|
||||
{
|
||||
return joint->IsLimitEnabled();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user