mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
more joint updates to better match the API
--HG-- branch : box2d-update
This commit is contained in:
@@ -63,7 +63,7 @@ namespace box2d
|
||||
/**
|
||||
* Enable/disable the joint motor.
|
||||
**/
|
||||
void setMotorEnabled(bool motor);
|
||||
void enableMotor(bool motor);
|
||||
|
||||
/**
|
||||
* Checks whether the motor is enabled.
|
||||
@@ -93,12 +93,12 @@ namespace box2d
|
||||
/**
|
||||
* Enable/disable the joint limit.
|
||||
**/
|
||||
void setLimitsEnabled(bool limit);
|
||||
void enableLimit(bool limit);
|
||||
|
||||
/**
|
||||
* Checks whether limits are enabled.
|
||||
**/
|
||||
bool isLimitsEnabled() const;
|
||||
bool isLimitEnabled() const;
|
||||
|
||||
/**
|
||||
* Sets the upper limit in degrees.
|
||||
|
||||
Reference in New Issue
Block a user