| 65 | } |
| 66 | |
| 67 | S32 xPointInBox(const xBox* b, const xVec3* p) |
| 68 | { |
| 69 | S32 ret = 0; |
| 70 | if ((p->x >= b->lower.x) && (p->x <= b->upper.x)) |
| 71 | { |
| 72 | if ((p->y >= b->lower.y) && (p->y <= b->upper.y)) |
| 73 | { |
| 74 | if ((p->z >= b->lower.z) && (p->z <= b->upper.z)) |
| 75 | { |
| 76 | ret = 1; |
| 77 | } |
| 78 | } |
| 79 | } |
| 80 | return (char)ret; |
| 81 | } |
| 82 | |
| 83 | void xBoxInitBoundOBB(xBox* o, const xBox* b, const xMat4x3* m) |
| 84 | { |
no outgoing calls
no test coverage detected