Update Body API.

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-09-23 22:21:14 -04:00
parent 0678eac453
commit 367dbc2ecc
14 changed files with 416 additions and 195 deletions
+19 -13
View File
@@ -43,22 +43,28 @@ namespace box2d
int w_Body_getAngularVelocity(lua_State * L);
int w_Body_getMass(lua_State * L);
int w_Body_getInertia(lua_State * L);
int w_Body_getMassData(lua_State * L);
int w_Body_getAngularDamping(lua_State * L);
int w_Body_getLinearDamping(lua_State * L);
int w_Body_applyImpulse(lua_State * L);
int w_Body_getGravityScale(lua_State * L);
int w_Body_getType(lua_State * L);
int w_Body_applyLinearImpulse(lua_State * L);
int w_Body_applyAngularImpulse(lua_State * L);
int w_Body_applyTorque(lua_State * L);
int w_Body_applyForce(lua_State * L);
int w_Body_setX(lua_State * L);
int w_Body_setY(lua_State * L);
int w_Body_setVelocity(lua_State * L);
int w_Body_setLinearVelocity(lua_State * L);
int w_Body_setAngle(lua_State * L);
int w_Body_setAngularVelocity(lua_State * L);
int w_Body_setPosition(lua_State * L);
int w_Body_setMassFromShapes(lua_State * L);
int w_Body_setMass(lua_State * L);
int w_Body_resetMassData(lua_State * L);
int w_Body_setMassData(lua_State * L);
int w_Body_setInertia(lua_State * L);
int w_Body_setAngularDamping(lua_State * L);
int w_Body_setLinearDamping(lua_State * L);
int w_Body_setGravityScale(lua_State * L);
int w_Body_setType(lua_State * L);
int w_Body_getWorldPoint(lua_State * L);
int w_Body_getWorldVector(lua_State * L);
int w_Body_getLocalPoint(lua_State * L);
@@ -67,16 +73,16 @@ namespace box2d
int w_Body_getLinearVelocityFromLocalPoint(lua_State * L);
int w_Body_isBullet(lua_State * L);
int w_Body_setBullet(lua_State * L);
int w_Body_isStatic(lua_State * L);
int w_Body_isDynamic(lua_State * L);
int w_Body_isFrozen(lua_State * L);
int w_Body_isSleeping(lua_State * L);
int w_Body_setAllowSleeping(lua_State * L);
int w_Body_getAllowSleeping(lua_State * L);
int w_Body_putToSleep(lua_State * L);
int w_Body_wakeUp(lua_State * L);
int w_Body_isActive(lua_State * L);
int w_Body_isAwake(lua_State * L);
int w_Body_setSleepingAllowed(lua_State * L);
int w_Body_isSleepingAllowed(lua_State * L);
int w_Body_setActive(lua_State * L);
int w_Body_setAwake(lua_State * L);
int w_Body_setFixedRotation(lua_State * L);
int w_Body_getFixedRotation(lua_State * L);
int w_Body_isFixedRotation(lua_State * L);
int w_Body_createFixture(lua_State * L);
int w_Body_destroyFixture(lua_State * L);
int w_Body_destroy(lua_State * L);
int luaopen_body(lua_State * L);