added get/setGroupIndex to CircleShape and PolygonShape

This commit is contained in:
Bill Meltsner
2010-04-07 19:16:49 -04:00
parent c64e034320
commit 3b841423fa
3 changed files with 6 additions and 2 deletions
@@ -83,6 +83,8 @@ namespace box2d
{ "setData", w_Shape_setData },
{ "getData", w_Shape_getData },
{ "getBoundingBox", w_Shape_getBoundingBox },
{ "getGroupIndex", w_Shape_getGroupIndex },
{ "setGroupIndex", w_Shape_setGroupIndex },
{ "destroy", w_Shape_destroy },
{ 0, 0 }
};
@@ -61,6 +61,8 @@ namespace box2d
{ "setData", w_Shape_setData },
{ "getData", w_Shape_getData },
{ "getBoundingBox", w_Shape_getBoundingBox },
{ "getGroupIndex", w_Shape_getGroupIndex },
{ "setGroupIndex", w_Shape_setGroupIndex },
{ "destroy", w_Shape_destroy },
{ 0, 0 }
};
+2 -2
View File
@@ -53,8 +53,8 @@ namespace box2d
int w_Shape_setData(lua_State * L);
int w_Shape_getData(lua_State * L);
int w_Shape_getBoundingBox(lua_State * L);
int w_Shape_getGroupIndex();
int w_Shape_setGroupIndex();
int w_Shape_getGroupIndex(lua_State * L);
int w_Shape_setGroupIndex(lua_State * L);
int w_Shape_destroy(lua_State * L);
int luaopen_shape(lua_State * L);