# G3*_VtxDiff

## C Specification

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

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

      // Below are APIs for creating the display list (command list)
      void G3B_VtxDiff(GXDLInfo* info, fx16 x, fx16 y, fx16 z);
      void G3C_VtxDiff(GXDLInfo* info, fx16 x, fx16 y, fx16 z);
      void G3BS_VtxDiff(GXDLInfo* info, fx16 x, fx16 y, fx16 z);
      void G3CS_VtxDiff(GXDLInfo* info, fx16 x, fx16 y, fx16 z);

## Arguments

info | Command List Information
x | x-component of the difference in the vertex coordinate data
y | y-component of the difference in the vertex coordinate data
z | z-component of the difference in the vertex coordinate data

## Return Values

None.

## Description

This function specifies the difference value from the data of the last-set vertex coordinates. The `x`, `y`, and `z` must each be greater than or equal to -0.125 (0xFE00) and less than 0.125 (0x200). The parameters are packed to 1 word internally.

## See Also

`G3*_Vtx, G3*_Vtx10, G3*_VtxXY, G3*_VtxXZ, G3*_VtxYZ`

## Revision History

01/19/2004 Initial version.

CONFIDENTIAL