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.
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) |
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) |
| 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.
1.6.3