G3*_Vtx10


C Specification


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

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

// Below are APIs for creating the display list (command list)
void G3B_Vtx10(GXDLInfo* info, fx16 x, fx16 y, fx16 z);
void G3C_Vtx10(GXDLInfo* info, fx16 x, fx16 y, fx16 z);
void G3BS_Vtx10(GXDLInfo* info, fx16 x, fx16 y, fx16 z);
void G3CS_Vtx10(GXDLInfo* info, fx16 x, fx16 y, fx16 z);

Description

This function sets the vertex coordinates. Each parameter is a signed fixed-point number that is converted into sign + 3-bit integer + 12-bit decimal and packed into 1 word.

Arguments

info Command list information
x Vertex x-coordinate
y Vertex y-coordinate
z Vertex z-coordinate

Return Values

None.

See Also

G3*_Vtx, G3*_VtxXY, G3*_VtxXZ, G3*_VtxYZ, G3*_VtxDiff

Revision History

01/19/2004 Initial Version