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

   

gSP2Triangles

Format
gSP2Triangles(pkt, v00,
   v01, v02, flag0, v10,
   v11, v12, flag1)
gsSP2Triangles(v00, v01,
   v02, flag0, v10, v11,
   v12, flag1)
What This Macro Does
gSP2Triangles does the same thing as the following two gSP1Triangle macros:

gSP1Triangle(pkt++, v00, v01, v02, flag0);
gSP1Triangle(pkt++, v10, v11, v12, flag1);


That is, it draws two triangles. Two gSP1Triangle are processed using one DL so that the size of DL can be reduced. In addition, F3DLP.Rej and F3DLX.Rej are optimized for gSP2Triangles, which results in faster processing.


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