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

Format
#include "gbi.h"

gSPPopMatrix(Gfx *gdl,
   unsigned int param)
gsSPPopMatrix(unsigned int param)
Arguments
  • gdl is the pointer to the graphics display list
  • param is the flag field that identifies which matrix stack to pop:

    • G_MTX_MODELVIEW pops the modeling/viewing matrix stack
    • G_MTX_PROJECTION pops the projection matrix stack (NOT IMPLEMENTED)
What This Macro Does
It pops one of the matrix stacks. The model view stack can be up to 10 matrices deep. The projection stack is 1 matrix deep, so it cannot be popped.

Note
If the stack is empty, the macro is ignored.

See Also
gSPMatrix



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
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998