G3*_BoxTest

構文

#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