MCPcopy Create free account
hub / github.com/assaultcube/AC / insidearea

Function insidearea

source/src/worldlight.cpp:238–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236VARP(dynlight, 0, 1, 1);
237
238static inline bool insidearea(const block &a, const block &b)
239{
240 return b.x >= a.x && b.y >= a.y && b.x+b.xs <= a.x+a.xs && b.y+b.ys <= a.y+a.ys;
241}
242
243void preparedynlight(dlight &d)
244{

Callers 3

preparedynlightFunction · 0.85
loopvFunction · 0.85
loopvrevFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected