mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Joint:enableMotor -> Joint:setMotorEnabled, Joint:enableLimit -> Joint:setLimitsEnabled, Joint:isLimitEnabled -> Joint:hasLimitsEnabled. Resolves issue #691.
This commit is contained in:
@@ -59,7 +59,7 @@ public:
|
||||
/**
|
||||
* Enable/disable the joint motor.
|
||||
**/
|
||||
void enableMotor(bool motor);
|
||||
void setMotorEnabled(bool enable);
|
||||
|
||||
/**
|
||||
* Checks whether the motor is enabled.
|
||||
@@ -95,12 +95,12 @@ public:
|
||||
/**
|
||||
* Enable/disable the joint limit.
|
||||
**/
|
||||
void enableLimit(bool limit);
|
||||
void setLimitsEnabled(bool enable);
|
||||
|
||||
/**
|
||||
* Checks whether limits are enabled.
|
||||
**/
|
||||
bool isLimitEnabled() const;
|
||||
bool hasLimitsEnabled() const;
|
||||
|
||||
/**
|
||||
* Sets the upper limit in degrees.
|
||||
|
||||
Reference in New Issue
Block a user