| 680 | |
| 681 | |
| 682 | int LuaObstacle::GetFaceMaterial(lua_State* L) { |
| 683 | const MeshFace* face = ParseMeshFace(L, 1); |
| 684 | if (face == NULL) { |
| 685 | return luaL_pushnil(L); |
| 686 | } |
| 687 | lua_pushinteger(L, face->getMaterial()->getID()); |
| 688 | return 1; |
| 689 | } |
| 690 | |
| 691 | |
| 692 | int LuaObstacle::GetFaceSmoothBounce(lua_State* L) { |
nothing calls this directly
no test coverage detected