#include <nitro/gx/g3.h>
typedef union
{
u32 val[3];
struct
{
fx16 x;
fx16 y;
fx16 z;
fx16 width;
fx16 height;
fx16 depth;
};
} GXBoxTestParam;
This structure is used as the arguments for the G3_BoxTest function.
The details of each member are as follows:
| Member | Meaning |
x |
X coordinate of standard vertex. |
y |
Y coordinate of standard vertex. |
z |
Z coordinate of standard vertex. |
width |
Width of cuboid being tested. |
height |
Height of cuboid being tested. |
depth |
Depth of cuboid being tested. |
11/04/2004 Initial version.