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

Method GetFlagsInPlanes

src/lua/LuaSpatial.cpp:698–705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

696//============================================================================//
697
698int LuaSpatial::GetFlagsInPlanes(lua_State* L) {
699 PlanesData planes;
700 ParsePlanes(L, planes);
701 std::vector<const Flag*> hits;
702 CheckFlags(FlagInPlanes, planes, hits);
703 PushFlags(L, hits);
704 return 1;
705}
706
707
708int LuaSpatial::GetFlagsInSphere(lua_State* L) {

Callers

nothing calls this directly

Calls 3

ParsePlanesFunction · 0.85
CheckFlagsFunction · 0.85
PushFlagsFunction · 0.85

Tested by

no test coverage detected