| 546 | |
| 547 | |
| 548 | int LuaObstacle::GetFaceElementCount(lua_State* L) { |
| 549 | const MeshFace* face = ParseMeshFace(L, 1); |
| 550 | if (face == NULL) { |
| 551 | return luaL_pushnil(L); |
| 552 | } |
| 553 | const int elements = face->getVertexCount(); |
| 554 | lua_pushinteger(L, elements); |
| 555 | return 1; |
| 556 | } |
| 557 | |
| 558 | |
| 559 | int LuaObstacle::GetFaceVerts(lua_State* L) { |
nothing calls this directly
no test coverage detected