Didn't mean to change these

This commit is contained in:
Garrett Brown
2020-08-16 21:20:16 -04:00
parent be5ad1f445
commit 10002c91db
4 changed files with 16 additions and 16 deletions
@@ -102,7 +102,7 @@ int w_WheelJoint_getMotorTorque(lua_State *L)
return 1;
}
int w_WheelJoint_setSpringStiffness(lua_State *L)
int w_WheelJoint_setSpringFrequency(lua_State *L)
{
WheelJoint *t = luax_checkwheeljoint(L, 1);
float arg1 = (float)luaL_checknumber(L, 2);
@@ -110,7 +110,7 @@ int w_WheelJoint_setSpringStiffness(lua_State *L)
return 0;
}
int w_WheelJoint_getSpringStiffness(lua_State *L)
int w_WheelJoint_getSpringFrequency(lua_State *L)
{
WheelJoint *t = luax_checkwheeljoint(L, 1);
lua_pushnumber(L, t->getStiffness());
@@ -150,8 +150,8 @@ static const luaL_Reg w_WheelJoint_functions[] =
{ "setMaxMotorTorque", w_WheelJoint_setMaxMotorTorque },
{ "getMaxMotorTorque", w_WheelJoint_getMaxMotorTorque },
{ "getMotorTorque", w_WheelJoint_getMotorTorque },
{ "setSpringStiffness", w_WheelJoint_setSpringStiffness },
{ "getSpringStiffness", w_WheelJoint_getSpringStiffness },
{ "setSpringFrequency", w_WheelJoint_setSpringFrequency },
{ "getSpringFrequency", w_WheelJoint_getSpringFrequency },
{ "setSpringDampingRatio", w_WheelJoint_setSpringDampingRatio },
{ "getSpringDampingRatio", w_WheelJoint_getSpringDampingRatio },
{ "getAxis", w_WheelJoint_getAxis },