Disallow concave shapes as geometry.

This commit is contained in:
vrld
2013-05-12 13:01:05 +02:00
parent d454be7025
commit e9d0204cdc
6 changed files with 40 additions and 71 deletions
@@ -38,7 +38,7 @@ Geometry *luax_checkgeometry(lua_State *L, int idx)
int w_Geometry_getVertexCount(lua_State *L)
{
Geometry *geom = luax_checkgeometry(L, 1);
lua_pushinteger(L, geom->getNumVertices());
lua_pushinteger(L, geom->getVertexCount());
return 1;
}