libnds
|
Position Test Functions.
More...
Functions | |
GL_STATIC_INL void | PosTest (v16 x, v16 y, v16 z) |
Performs a position test. More... | |
GL_STATIC_INL void | PosTest_Asynch (v16 x, v16 y, v16 z) |
Starts a position test asynchronously. More... | |
GL_STATIC_INL bool | PosTestBusy () |
true if the hardware is currently performing a position/vertex/box test. More... | |
GL_STATIC_INL int32 | PosTestWresult () |
Returns the distance from the camera of the last position test, pretty darn useful. More... | |
GL_STATIC_INL int32 | PosTestXresult () |
Returns absolute X position of the last position test (location if the modelview matrix was identity) More... | |
GL_STATIC_INL int32 | PosTestYresult () |
Returns absolute Y position of the last position test (location if the modelview matrix was identity) More... | |
GL_STATIC_INL int32 | PosTestZresult () |
Returns absolute Z position of the last position test (location if the modelview matrix was identity) More... | |
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)