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

Function xBoundDraw

src/SB/Core/x/xBound.cpp:372–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372void xBoundDraw(const xBound* b)
373{
374 if (b->type == XBOUND_TYPE_SPHERE)
375 {
376 xDrawSphere2(&b->sph, 12);
377 }
378 else if (b->type == XBOUND_TYPE_OBB)
379 {
380 xDrawOBB(&b->box.box, b->mat);
381 }
382 else if (b->type == XBOUND_TYPE_BOX)
383 {
384 xDrawBox(&b->box.box);
385 }
386}
387
388void xQuickCullForBound(xQCData* q, const xBound* b)
389{

Callers 5

IsSPLZClearMethod · 0.85
PlayerTestsMethod · 0.85
NPC_alwaysUseSphereFunction · 0.85
ProcessMethod · 0.85
CollideReviewMethod · 0.85

Calls 3

xDrawOBBFunction · 0.85
xDrawBoxFunction · 0.85
xDrawSphere2Function · 0.70

Tested by

no test coverage detected