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
@@ -35,14 +35,14 @@ namespace box2d
RevoluteJoint * luax_checkrevolutejoint(lua_State * L, int idx);
int w_RevoluteJoint_getJointAngle(lua_State * L);
int w_RevoluteJoint_getJointSpeed(lua_State * L);
int w_RevoluteJoint_setMotorEnabled(lua_State * L);
int w_RevoluteJoint_enableMotor(lua_State * L);
int w_RevoluteJoint_isMotorEnabled(lua_State * L);
int w_RevoluteJoint_setMaxMotorTorque(lua_State * L);
int w_RevoluteJoint_setMotorSpeed(lua_State * L);
int w_RevoluteJoint_getMotorSpeed(lua_State * L);
int w_RevoluteJoint_getMotorTorque(lua_State * L);
int w_RevoluteJoint_setLimitsEnabled(lua_State * L);
int w_RevoluteJoint_isLimitsEnabled(lua_State * L);
int w_RevoluteJoint_enableLimit(lua_State * L);
int w_RevoluteJoint_isLimitEnabled(lua_State * L);
int w_RevoluteJoint_setUpperLimit(lua_State * L);
int w_RevoluteJoint_setLowerLimit(lua_State * L);
int w_RevoluteJoint_setLimits(lua_State * L);