MTXGetStackPtr

Syntax

    #include <revolution/mtx.h>

MtxPtr MTXGetStackPtr ( const MtxStack sPtr );

Arguments

sPtr Pointer to an MtxStack structure

Return Values

Returns sPtr->stackPtr, the top of the stack matrix.

Description

Returns a pointer to the current matrix at the top of the matrix stack (sPtr->stackPtr). The returned pointer can then be used either as a function argument or to modify the top of the matrix stack.

See Also

Mtx, MtxPtr, MtxStack, MtxStackPtr

Revision History

2006/03/01 Initial version.


CONFIDENTIAL