Add love.physics.getDistance(fixtureA, fixtureB) - gets the distance between and the closest points of two fixtures

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-09-24 17:29:42 -04:00
parent 3bd2316c6c
commit 680dd65c19
5 changed files with 42 additions and 0 deletions
+1
View File
@@ -69,6 +69,7 @@ namespace box2d
int w_newWeldJoint(lua_State * L);
int w_newWheelJoint(lua_State * L);
int w_newRopeJoint(lua_State * L);
int w_getDistance(lua_State * L);
int w_setMeter(lua_State * L);
int w_getMeter(lua_State * L);
extern "C" LOVE_EXPORT int luaopen_love_physics(lua_State * L);