MTXGetStackPtr

C Specification

#include <revolution/mtx.h>
MtxPtr MTXGetStackPtr ( const MtxStack sPtr );

Arguments

sPtr Pointer to a MtxStack structure.

Return Values

Returns sPtr->stackPtr, the top of 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 an argument to a function or to modify the top of stack matrix.

See Also

Mtx, MtxPtr, MtxStack, MtxStackPtr

Revision History

03/01/2006 Initial version.