N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential





gSPPopMatrix [macro]

Pops from a matrix stack.

Syntax

#include <ultra64.h>  /* gbi.h */
gSPPopMatrix(Gfx *gdl, u32 param)
gsSPPopMatrix( u32 param)

Arguments

  • gdl is the pointer to the graphics display list.

  • param is the The flag field identifying the matrix stack to pop:
    G_MTX_MODELVIEW (The modelview matrix stack)
    G_MTX_PROJECTION (The projection matrix stack)(not implemented)

Explanation
Pops from one matrix stack. The modelview matrix stack is 10 levels deep, and the projection matrix stack is 1 level deep (so it is impossible to pop a projection matrix stack). For details, see Section 11.3, "Matrix State," in the N64 Online Programming Manual.

Notes
If the stack is empty, the command is ignored.

See Also
gSPMatrix

Revision History
2/1/1999 Completely rewritten


Nintendo® Confidential

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.


Copyright © 1998-1999
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated March 1999