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

Function xQuickCullForBound

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

Source from the content-addressed store, hash-verified

42}
43
44void xQuickCullForBound(xQCControl* ctrl, xQCData* q, const xBound* b)
45{
46 if (b->type == 1)
47 {
48 xQuickCullForSphere(ctrl, q, &b->sph);
49 }
50 else if (b->type == 2)
51 {
52 xQuickCullForBox(ctrl, q, &b->box.box);
53 }
54 else if (b->type == 4)
55 {
56 xQuickCullForOBB(ctrl, q, &b->box.box, b->mat);
57 }
58}
59
60static void xQuickCullCellForVec(xQCControl* ctrl, xQCData* c, const xVec3* v)
61{

Callers

nothing calls this directly

Calls 3

xQuickCullForSphereFunction · 0.70
xQuickCullForBoxFunction · 0.70
xQuickCullForOBBFunction · 0.70

Tested by

no test coverage detected