Box Test Functions.
More...
|
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. More...
|
|
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. 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. More...
|
|
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. More...
|
|
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. 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. More...
|
|
int | BoxTestResult (void) |
| Gets the result of the last box test. Needed for asynch box test calls. More...
|
|
Performs a test to determine if the provided box is in the view frustrum.
- Parameters
-
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) |
- Returns
- non zero if any or all of the box is in the view frustum.
Performs a test to determine if the provided box is in the view frustum. 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.
- Parameters
-
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) |
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.
- Parameters
-
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) |
- Returns
- 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. 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.
- Parameters
-
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) |
int BoxTestResult |
( |
void |
| ) |
|
Gets the result of the last box test. Needed for asynch box test calls.
- Returns
- non zero if any or all of the box is in the view frustum.