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);

Arguments

info Command List Information
x Vertex coordinate: X
y Vertex coordinate: Y
z Vertex coordinate: Z

Return Values

None.

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.

See Also

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

Revision History

01/19/2004 Initial version.