MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / GetFaceSmoothBounce

Method GetFaceSmoothBounce

src/lua/LuaObstacle.cpp:692–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

690
691
692int LuaObstacle::GetFaceSmoothBounce(lua_State* L) {
693 const MeshFace* face = ParseMeshFace(L, 1);
694 if (face == NULL) {
695 return luaL_pushnil(L);
696 }
697 lua_pushboolean(L, face->isSmoothBounce());
698 return 1;
699}
700
701
702//============================================================================//

Callers

nothing calls this directly

Calls 4

ParseMeshFaceFunction · 0.85
luaL_pushnilFunction · 0.85
isSmoothBounceMethod · 0.80
lua_pushbooleanFunction · 0.50

Tested by

no test coverage detected