G3*_Vtx


C Specification

#include <nitro/gx/g3imm.h>
#include <nitro/gx/g3b.h>
#include <nitro/gx/g3c.h>

void G3_Vtx(fx16 x, fx16 y, fx16 z);

// Below are APIs for creating the display list (command list)
void G3B_Vtx(GXDLInfo* info, fx16 x, fx16 y, fx16 z);
void G3C_Vtx(GXDLInfo* info, fx16 x, fx16 y, fx16 z);
void G3BS_Vtx(GXDLInfo* info, fx16 x, fx16 y, fx16 z);
void G3CS_Vtx(GXDLInfo* info, fx16 x, fx16 y, fx16 z);

Description

This function sets vertex coordinates. Each parameter is a signed fixed-point number (sign + 3-bit integer + 12-bit decimal) packed into 2 words.

Arguments

info Command list information
x Vertex coordinate: X
Y Vertex coordinate: Y
Z Vertex coordinate: Z

Return Values

None

See Also

G3*_Vtx10, G3*_VtxXY, G3*_VtxXZ, G3*_VtxYZ, G3*_VtxDiff

Revision History

12/01/2003 Initial Version