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.
|
|
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.
|
|
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.
|
|
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.
|
|
static int | BoxTestResult (void) |
| Gets the result of the last box test.
|
|
◆ BoxTest()
Performs a test to determine if the provided box is in the view frustrum.
- Parameters
-
x | Point of a vertex on the box |
y | Point of a vertex on the box |
z | Point of a vertex on the box |
height | Describe the size of the box referenced from (x, y, z) |
width | Describe the size of the box referenced from (x, y, z) |
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 | Point of a vertex on the box |
y | Point of a vertex on the box |
z | Point of a vertex on the box |
width | Describe the size of the box referenced from (x, y, z) |
height | Describe the size of the box referenced from (x, y, z) |
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 | Point of a vertex on the box |
y | Point of a vertex on the box |
z | Point of a vertex on the box |
width | Describe the size of the box referenced from (x, y, z) |
height | Describe the size of the box referenced from (x, y, z) |
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 | Point of a vertex on the box |
y | Point of a vertex on the box |
z | Point of a vertex on the box |
width | Describe the size of the box referenced from (x, y, z) |
height | Describe the size of the box referenced from (x, y, z) |
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.