G3*_VectorTest

C Specification

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

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

// Below are APIs for creating the display list (command list):
void G3BS_VectorTest(GXDLInfo * info, fx16 x, fx16 y, fx16 z);
void G3B_VectorTest(GXDLInfo * info, fx16 x, fx16 y, fx16 z);
void G3CS_VectorTest(GXDLInfo * info, fx16 x, fx16 y, fx16 z);
void G3C_VectorTest(GXDLInfo * info, fx16 x, fx16 y, fx16 z);

Arguments

x x-component of directional vector for testing
y y-component of directional vector for testing
z z-component of directional vector for testing

Return Values

None.

Description

This function performs coordinate conversion on the directional vector according to the current directional vector matrix. The vector to modify is set with x,y,z. The results are obtained with G3X_GetVectorTestResult.

See Also

G3_BoxTest, G3_PositionTest, G3X_GetVectorTestResult

Revision History

01/19/2004 Initial version.