MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / xQuickCullCellMerge

Function xQuickCullCellMerge

src/SB/Core/x/xQuickCull.cpp:72–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static void xQuickCullCellMerge(xQCData* o, const xQCData* a, const xQCData* b)
73{
74 o->xmin = MIN(a->xmin, b->xmin);
75 o->ymin = MIN(a->ymin, b->ymin);
76 o->zmin = MIN(a->zmin, b->zmin);
77 o->zmin_dup = o->zmin;
78 o->xmax = MAX(a->xmax, b->xmax);
79 o->ymax = MAX(a->ymax, b->ymax);
80 o->zmax = MAX(a->zmax, b->zmax);
81 o->zmax_dup = o->zmax;
82}
83
84void xQuickCullForLine(xQCControl* ctrl, xQCData* q, const xLine3* ln)
85{

Callers 4

xQuickCullForLineFunction · 0.85
xQuickCullForRayFunction · 0.85
xQuickCullForSphereFunction · 0.85
xQuickCullForBoxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected