G3*_VtxXY

C Specification

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

void G3_VtxXY(fx16 x, fx16 y);

// Below are APIs for creating the display list (command list)
void G3B_VtxXY(GXDLInfo* info, fx16 x, fx16 y);
void G3C_VtxXY(GXDLInfo* info, fx16 x, fx16 y);
void G3BS_VtxXY(GXDLInfo* info, fx16 x, fx16 y);
void G3CS_VtxXY(GXDLInfo* info, fx16 x, fx16 y);

Arguments

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

Return Values

None.

Description

This function sets the x- and y-coordinates for the vertex. The last-set data is used for the z-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*_VtxXZ, G3*_VtxYZ, G3*_VtxDiff

Revision History

01/19/2004 Initial version.