mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
updating the Joints
--HG-- branch : box2d-update
This commit is contained in:
@@ -68,13 +68,6 @@ namespace box2d
|
||||
return 0;
|
||||
}
|
||||
|
||||
int w_RevoluteJoint_getMaxMotorTorque(lua_State * L)
|
||||
{
|
||||
RevoluteJoint * t = luax_checkrevolutejoint(L, 1);
|
||||
lua_pushnumber(L, t->getMaxMotorTorque());
|
||||
return 1;
|
||||
}
|
||||
|
||||
int w_RevoluteJoint_setMotorSpeed(lua_State * L)
|
||||
{
|
||||
RevoluteJoint * t = luax_checkrevolutejoint(L, 1);
|
||||
@@ -164,7 +157,6 @@ namespace box2d
|
||||
{ "setMotorEnabled", w_RevoluteJoint_setMotorEnabled },
|
||||
{ "isMotorEnabled", w_RevoluteJoint_isMotorEnabled },
|
||||
{ "setMaxMotorTorque", w_RevoluteJoint_setMaxMotorTorque },
|
||||
{ "getMaxMotorTorque", w_RevoluteJoint_getMaxMotorTorque },
|
||||
{ "setMotorSpeed", w_RevoluteJoint_setMotorSpeed },
|
||||
{ "getMotorSpeed", w_RevoluteJoint_getMotorSpeed },
|
||||
{ "getMotorTorque", w_RevoluteJoint_getMotorTorque },
|
||||
|
||||
Reference in New Issue
Block a user