| 531 | |
| 532 | |
| 533 | int LuaObstacle::GetFaceMesh(lua_State* L) { |
| 534 | const MeshFace* face = ParseMeshFace(L, 1); |
| 535 | if (face == NULL) { |
| 536 | return luaL_pushnil(L); |
| 537 | } |
| 538 | const MeshObstacle* mesh = face->getMesh(); |
| 539 | if (mesh == NULL) { |
| 540 | lua_pushboolean(L, false); |
| 541 | return 1; |
| 542 | } |
| 543 | PushObstacleGUID(L, mesh->getGUID()); |
| 544 | return 1; |
| 545 | } |
| 546 | |
| 547 | |
| 548 | int LuaObstacle::GetFaceElementCount(lua_State* L) { |
nothing calls this directly
no test coverage detected