#include <nitro/gx/g3x.h>
s32 G3X_GetMtxStackLevelPV(s32* level);
This function obtains the current stack level for the Position/Vector matrix stack. When the return value is 0, the current stack level is substituted in *level. The current stack level takes values between 0 and 31. When the return value is not 0, the current stack is busy and the current stack level cannot be obtained.
level |
Pointer to s32 type |
Whether results were obtained (0) or the matrix stack is busy (not 0).
02/09/2004 Changed the argument to a s32 type pointer
01/19/2004 Initial Version