#include <nitro/gx/g3x.h>
s32 G3X_GetMtxStackLevelPJ(s32* level);
This function gets the current stack level of the Projection matrix stack. When the return value is 0, the current matrix stack level is substituted in *level. The matrix stack level has values of 0 or 1. When the return value is not 0, the current matrix stack level cannot be obtained because the matrix stack is busy.
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