Position Test Functions.
[詳細]
#include <nds/arm9/video.h>#include <nds/arm9/videoGL.h>関数 | |
| GL_STATIC_INL bool | PosTestBusy () |
| true if the hardware is currently performing a position/vertex/box test. | |
| GL_STATIC_INL void | PosTest_Asynch (v16 x, v16 y, v16 z) |
| Starts a position test asynchronously. | |
| GL_STATIC_INL void | PosTest (v16 x, v16 y, v16 z) |
| Performs a position test. | |
| GL_STATIC_INL int32 | PosTestWresult () |
| Returns the distance from the camera of the last position test, pretty darn useful. | |
| GL_STATIC_INL int32 | PosTestXresult () |
| Returns absolute X position of the last position test (location if the modelview matrix was identity). | |
| GL_STATIC_INL int32 | PosTestYresult () |
| Returns absolute Y position of the last position test (location if the modelview matrix was identity). | |
| GL_STATIC_INL int32 | PosTestZresult () |
| Returns absolute Z position of the last position test (location if the modelview matrix was identity). | |
Position Test Functions.
Performs a position test.
| x | specifies x offset from the current modelview matrix | |
| y | specifies y offset from the current modelview matrix | |
| z | specifies z offset from the current modelview matrix |
Starts a position test asynchronously.
| x | specifies x offset from the current modelview matrix | |
| y | specifies y offset from the current modelview matrix | |
| z | specifies z offset from the current modelview matrix |
| GL_STATIC_INL bool PosTestBusy | ( | ) |
true if the hardware is currently performing a position/vertex/box test.
| GL_STATIC_INL int32 PosTestWresult | ( | ) |
Returns the distance from the camera of the last position test, pretty darn useful.
| GL_STATIC_INL int32 PosTestXresult | ( | ) |
Returns absolute X position of the last position test (location if the modelview matrix was identity).
| GL_STATIC_INL int32 PosTestYresult | ( | ) |
Returns absolute Y position of the last position test (location if the modelview matrix was identity).
| GL_STATIC_INL int32 PosTestZresult | ( | ) |
Returns absolute Z position of the last position test (location if the modelview matrix was identity).
1.6.3