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

Method GetShotsInBox

src/lua/LuaSpatial.cpp:922–929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

920
921
922int LuaSpatial::GetShotsInBox(lua_State* L) {
923 BoxData box;
924 ParseBox(L, box);
925 std::vector<const ShotPath*> hits;
926 CheckShots(ShotInBox, box, hits);
927 PushShots(L, hits);
928 return 1;
929}
930
931
932int LuaSpatial::GetVisibleShots(lua_State* L) {

Callers

nothing calls this directly

Calls 3

ParseBoxFunction · 0.85
CheckShotsFunction · 0.85
PushShotsFunction · 0.70

Tested by

no test coverage detected