boxtest.h

Box Test Functions. [詳細]

#include "nds/arm9/video.h"
#include "nds/arm9/videoGL.h"

ソースコードを見る。

関数

int BoxTest (v16 x, v16 y, v16 z, v16 width, v16 height, v16 depth)
 Performs a test to determine if the provided box is in the view frustrum.
int BoxTestf (float x, float y, float z, float width, float height, float depth)
 Performs a test to determine if the provided box is in the view frustum.
void BoxTest_Asynch (v16 x, v16 y, v16 z, v16 height, v16 width, v16 depth)
 Performs a test to determine if the provided box is in the view frustum.
void BoxTestf_Asynch (float x, float y, float z, float width, float height, float depth)
 Performs a test to determine if the provided box is in the view frustum.
int BoxTestResult (void)
 Gets the result of the last box test. Needed for asynch box test calls.

説明

Box Test Functions.


関数

int BoxTest ( v16  x,
v16  y,
v16  z,
v16  width,
v16  height,
v16  depth 
)

Performs a test to determine if the provided box is in the view frustrum.

引数:
x (x, y, z) point of a vertex on the box
y (x, y, z) point of a vertex on the box
z (x, y, z) point of a vertex on the box
height (height, width, depth) describe the size of the box referenced from (x, y, z)
width (height, width, depth) describe the size of the box referenced from (x, y, z)
depth (height, width, depth) describe the size of the box referenced from (x, y, z)
戻り値:
non zero if any or all of the box is in the view frustum
void BoxTest_Asynch ( v16  x,
v16  y,
v16  z,
v16  width,
v16  height,
v16  depth 
)

Performs a test to determine if the provided box is in the view frustum.

引数:
x (x, y, z) point of a vertex on the box
y (x, y, z) point of a vertex on the box
z (x, y, z) point of a vertex on the box
width (width, height, depth) describe the size of the box referenced from (x, y, z)
height (width, height, depth) describe the size of the box referenced from (x, y, z)
depth (width, height, depth) describe the size of the box referenced from (x, y, z)

Performs a test to determine if the provided box is in the view frustum. BoxTestResult must be called to get the result of this operation.

int BoxTestf ( float  x,
float  y,
float  z,
float  width,
float  height,
float  depth 
)

Performs a test to determine if the provided box is in the view frustum.

引数:
x (x, y, z) point of a vertex on the box
y (x, y, z) point of a vertex on the box
z (x, y, z) point of a vertex on the box
width (width, height, depth) describe the size of the box referenced from (x, y, z)
height (width, height, depth) describe the size of the box referenced from (x, y, z)
depth (width, height, depth) describe the size of the box referenced from (x, y, z)
戻り値:
non zero if any or all of the box is in the view frustum
void BoxTestf_Asynch ( float  x,
float  y,
float  z,
float  width,
float  height,
float  depth 
)

Performs a test to determine if the provided box is in the view frustum.

引数:
x (x, y, z) point of a vertex on the box
y (x, y, z) point of a vertex on the box
z (x, y, z) point of a vertex on the box
width (width, height, depth) describe the size of the box referenced from (x, y, z)
height (width, height, depth) describe the size of the box referenced from (x, y, z)
depth (width, height, depth) describe the size of the box referenced from (x, y, z)

Performs a test to determine if the provided box is in the view frustum. BoxTestResult must be called to get the result of this operation.

void BoxTestResult ( void   ) 

Gets the result of the last box test. Needed for asynch box test calls.

戻り値:
non zero if any or all of the box is in the view frustum
 全て クラス ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義
libndsに対してMon Apr 26 23:39:50 2010に生成されました。  doxygen 1.6.3