#include <iris/gx/g3imm.h>
#include <iris/gx/g3b.h>
#include <iris/gx/g3c.h>
void G3_BoxTest(const GXBoxTestParam * box);
| box | テストするボックスの座標データへのポインタ |
なし
Boxが視体積に入るかどうかをテストします。*boxにボックスのデータをセットします。結果はG3X_GetBoxTestResultで取得します。
typedef union
{
u32 val[3];
struct
{
fx16 x;
fx16 y;
fx16 z;
fx16 width;
fx16 height;
fx16 depth;
};
}
GXBoxTestParam;
G3_PositionTest, G3_VectorTest, G3X_GetBoxTestResult
Ver. 2004/01/19