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

   

gSPZMtxCat

Format
gSPZMtxCat(Gfx *gp, u32 mids, u32 midt, u32 midd)
Arguments
  • gp is the pointer to the graphics display list
  • mids is the matrix area S
  • midt is the matrix area T
  • midd is the matrix area D
What This Macro Does
This Z-Sort microcode GBI macro sets matrix D equal to the concatenation of matrix S with matrix T. Generally, GZM_MMTX, GZM_PMTX, or GZM_MPMTX is specified for the mids, midt, and midd arguments. However, the 128 bytes at the head of the user area can also be used; if so, specify GZM_USER0 and GZM_USER1 to use address 0-63 at the head of the user area and address 64-127.

When the matrix T and D areas are the same, the operation may not work as expected. There is no problem when areas S and D or areas S and T are the same.

For detailed information on Z-Sort microcode's GBI macros and data structures, please see the "Z-Sort Microcode" area of the N64 Programming Manual.

See Also
Z-Sort Microcode
gSPZRdpCmd
gSPZSetUMem
gSPZGetUMem
gSPZSetMtx
gSPZGetMtx
gSPZMtxCat
gSPZMtxTrnsp3x3
gSPZViewPort
gSPZMultMPMtx
gSPZSetAmbient
gSPZSetDefuse
gSPZSetLookAt
gSPZXfmLights
gSPZLight
gSPZLightMaterial
gSPZMixS16
gSPZMixS8
gSPZMixU8
gSPZSegment
gSPZSetSubDL
gSPZLinkSubDL
gSPZSendMessage
gSPZWaitSignal
gSPZSegment
gSPZPerspNormalize



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