| 370 | } |
| 371 | |
| 372 | void 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 | |
| 388 | void xQuickCullForBound(xQCData* q, const xBound* b) |
| 389 | { |
no test coverage detected