more joint updates to better match the API

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-07-02 11:46:42 -05:00
parent b4fae893fd
commit b3434997bf
15 changed files with 122 additions and 40 deletions
+3 -3
View File
@@ -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, usually in meters.