3D box test dunctions.
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. More...
|
|
static 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...
|
|
static 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. More...
|
|
static int | BoxTestResult (void) |
| Gets the result of the last box test. More...
|
|
◆ BoxTest()
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.
◆ BoxTest_Asynch()
Performs a test to determine if the provided box is in the view frustum.
This is asynchronous. 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) |
◆ BoxTestf()
static int BoxTestf |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
width, |
|
|
float |
height, |
|
|
float |
depth |
|
) |
| |
|
inlinestatic |
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.
◆ BoxTestf_Asynch()
static void BoxTestf_Asynch |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
width, |
|
|
float |
height, |
|
|
float |
depth |
|
) |
| |
|
inlinestatic |
Performs a test to determine if the provided box is in the view frustum.
This is asynchronous. 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) |
◆ BoxTestResult()
static int BoxTestResult |
( |
void |
| ) |
|
|
inlinestatic |
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.