Rename PrismaticJoint/RevoluteJoint:hasLimitsEnabled to areLimitsEnabled and deprecate the old methods (resolves issue #1324).

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-08-27 16:18:54 -03:00
parent bf6983beac
commit d8eb6e6012
7 changed files with 31 additions and 11 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ void RevoluteJoint::setLimitsEnabled(bool enable)
joint->EnableLimit(enable);
}
bool RevoluteJoint::hasLimitsEnabled() const
bool RevoluteJoint::areLimitsEnabled() const
{
return joint->IsLimitEnabled();
}