mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
added get/setGroupIndex to CircleShape and PolygonShape
This commit is contained in:
@@ -83,6 +83,8 @@ namespace box2d
|
|||||||
{ "setData", w_Shape_setData },
|
{ "setData", w_Shape_setData },
|
||||||
{ "getData", w_Shape_getData },
|
{ "getData", w_Shape_getData },
|
||||||
{ "getBoundingBox", w_Shape_getBoundingBox },
|
{ "getBoundingBox", w_Shape_getBoundingBox },
|
||||||
|
{ "getGroupIndex", w_Shape_getGroupIndex },
|
||||||
|
{ "setGroupIndex", w_Shape_setGroupIndex },
|
||||||
{ "destroy", w_Shape_destroy },
|
{ "destroy", w_Shape_destroy },
|
||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -61,6 +61,8 @@ namespace box2d
|
|||||||
{ "setData", w_Shape_setData },
|
{ "setData", w_Shape_setData },
|
||||||
{ "getData", w_Shape_getData },
|
{ "getData", w_Shape_getData },
|
||||||
{ "getBoundingBox", w_Shape_getBoundingBox },
|
{ "getBoundingBox", w_Shape_getBoundingBox },
|
||||||
|
{ "getGroupIndex", w_Shape_getGroupIndex },
|
||||||
|
{ "setGroupIndex", w_Shape_setGroupIndex },
|
||||||
{ "destroy", w_Shape_destroy },
|
{ "destroy", w_Shape_destroy },
|
||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -53,8 +53,8 @@ namespace box2d
|
|||||||
int w_Shape_setData(lua_State * L);
|
int w_Shape_setData(lua_State * L);
|
||||||
int w_Shape_getData(lua_State * L);
|
int w_Shape_getData(lua_State * L);
|
||||||
int w_Shape_getBoundingBox(lua_State * L);
|
int w_Shape_getBoundingBox(lua_State * L);
|
||||||
int w_Shape_getGroupIndex();
|
int w_Shape_getGroupIndex(lua_State * L);
|
||||||
int w_Shape_setGroupIndex();
|
int w_Shape_setGroupIndex(lua_State * L);
|
||||||
int w_Shape_destroy(lua_State * L);
|
int w_Shape_destroy(lua_State * L);
|
||||||
int luaopen_shape(lua_State * L);
|
int luaopen_shape(lua_State * L);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user