G3X_IsMtxStackOverflow

Syntax

#include <nitro/gx/g3x.h>

s32 G3X_IsMtxStackOverflow(s32 *overflow);

Arguments

overflow Pointer to s32 type

Return Values

Whether results were obtained (0) or the matrix stack is busy (not 0).

Description

Determines whether or not overflow/underflow is generated in the matrix stack. If the value returned is non-zero, current overflow or underflow status cannot be acquired because the matrix stack is busy. If the value returned is zero, whether the matrix stack is overflow or underflow is stored in * overflow.

If an overflow occurs, this function will return the overflow status until the G3X_ResetMtxStackOverflow function is called.

See Also

Revision History

2004/03/02

2004/01/19 Initial version.


CONFIDENTIAL