G3*_VtxXZ

C Specification

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

void G3_VtxXZ(fx16 x, fx16 z);

// Below are APIs for creating the display list (command list)
void G3B_VtxXZ(GXDLInfo* info, fx16 x, fx16 z);
void G3C_VtxXZ(GXDLInfo* info, fx16 x, fx16 z);
void G3BS_VtxXZ(GXDLInfo* info, fx16 x, fx16 z);
void G3CS_VtxXZ(GXDLInfo* info, fx16 x, fx16 z);

Arguments

info Command List Information
x Vertex x-coordinate
z Vertex z-coordinate

Return Values

None.

Description

This function sets the x- and z-coordinates for the vertex. The last-set data is used for the y-coordinate. Each parameter is a signed fixed-point number (sign + 3-bit integer + 12-bit decimal) packed into 1 words.

See Also

G3*_Vtx, G3*_Vtx10, G3*_VtxXY, G3*_VtxYZ, G3*_VtxDiff

Revision History

01/19/2004 Initial version.