1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>G3_VectorTest</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">G3*_VectorTest <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1> 15<H2>Syntax</H2> 16 17<dl> 18 <dd> 19<PRE><CODE>#include <nitro/gx/g3imm.h> 20#include <nitro/gx/g3b.h> 21#include <nitro/gx/g3c.h> 22 23void G3_VectorTest(fx16 x, fx16 y, fx16 z); 24 25// Below are APIs for creating the display list (command list): 26void G3BS_VectorTest(<A href="../gx/GXDLInfo.html">GXDLInfo</A> * info, fx16 x, fx16 y, fx16 z); 27void G3B_VectorTest(<A href="../gx/GXDLInfo.html">GXDLInfo</A> * info, fx16 x, fx16 y, fx16 z); 28void G3CS_VectorTest(<A href="../gx/GXDLInfo.html">GXDLInfo</A> * info, fx16 x, fx16 y, fx16 z); 29void G3C_VectorTest(<A href="../gx/GXDLInfo.html">GXDLInfo</A> * info, fx16 x, fx16 y, fx16 z);<BR></CODE></PRE> 30 </dd> 31</dl><h2>Arguments</h2> 32<TABLE border="1" width="100%"> 33 <TBODY> 34 <TR> 35 <TD width="13%"><em><strong><font face="Courier New">info</font></strong></em></TD> 36 <TD width="87%">Command List Information.</TD> 37 </TR> 38 <TR> 39 <TD width="128"><em><strong><font face="Courier New">x</font></strong></em></TD> 40 <TD width="567">x-component of directional vector for testing</TD> 41 </TR> 42 <TR> 43 <TD><em><strong><font face="Courier New">y</font></strong></em></TD> 44 <TD>y-component of directional vector for testing</TD> 45 </TR> 46 <TR> 47 <TD><em><strong><font face="Courier New">z</font></strong></em></TD> 48 <TD>z-component of directional vector for testing</TD> 49 </TR> 50 </TBODY> 51</TABLE> 52<h2>Return Values</h2> 53<p>None.</p> 54<H2>Description</H2> 55<P>This function performs coordinate conversion on the directional vector according to the current directional vector matrix. The vector to modify is set with <em><strong>x</strong></em>,<em><strong>y</strong></em>,<em><strong>z</strong></em>. The results are obtained with the <CODE><A href="G3X_GetVectorTestResult.html">G3X_GetVectorTestResult</A></CODE> function.</P> 56<h2>See Also</h2> 57<P><CODE><A href="G3_BoxTest.html">G3_BoxTest</A>, <A href="G3_PositionTest.html">G3_PositionTest</A>, <A href="G3X_GetVectorTestResult.html">G3X_GetVectorTestResult</A></CODE></P> 58<H2>Revision History</H2> 59<P>2004/01/19 Initial version.</P> 60<hr><p>CONFIDENTIAL</p></body> 61</html> 62