Add a custom Body:setMass function.

This commit is contained in:
Linus Sjögren
2012-01-10 04:14:17 +01:00
parent be55579a22
commit afd0ef1d9e
4 changed files with 24 additions and 0 deletions
+1
View File
@@ -60,6 +60,7 @@ namespace box2d
int w_Body_setPosition(lua_State * L);
int w_Body_resetMassData(lua_State * L);
int w_Body_setMassData(lua_State * L);
int w_Body_setMass(lua_State * L);
int w_Body_setInertia(lua_State * L);
int w_Body_setAngularDamping(lua_State * L);
int w_Body_setLinearDamping(lua_State * L);