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
|
gSP1TriangleFormat#include "gbi.h" gSP1Triangle(Gfx *gdl, int v0, int v1, int v2, int flag) gsSP1Triangle(int v0, int v1, int v2, int flag)Arguments
It generates a single triangle face (using the vertices v0, v1, and v2) in the internal vertex buffer loaded by the gSPVertex macro. The flag (0, 1, or 2) identifies which of the three vertices contains the normal or the color for the face (for flat shading). The actual type of triangle drawn (shaded, textured, Z-Buffered, and so on) is determined by the current RSP rendering state. See Also gSPVertex
|