1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8<TITLE>GXGetLightPosv</TITLE> 9</HEAD> 10<BODY> 11<H1 align="left">GXGetLightPosv</H1> 12 13<H2>Syntax</H2> 14<dl><dd><pre class="construction"> 15#include <revolution/gx.h> 16 17#define GXGetLightPosv(lo, vec) \ 18 (GXGetLightPos((lo), (f32*)(vec), (f32*)(vec)+1, (f32*)(vec)+2)) 19</pre></dd></dl> 20 21<H2>Arguments</H2> 22<TABLE class="arguments" border="1" > 23 <TBODY> 24 <TR> 25<TH>lo</TH> 26<TD>Pointer to a light object.</TD> 27 </TR> 28 <TR> 29<TH>vec</TH> 30<TD>Position vector. You may use an <CODE>f32</CODE>-type array or structure.</TD> 31 </TR> 32 </TBODY> 33</TABLE> 34 35<H2>Return Values</H2> 36<P>None.</P> 37 38<H2>Description</H2> 39<P>This function returns the position of the light from a light object in a vector structure. The light position may be set using the <A href="GXInitLightPos.html"><CODE>GXInitLightPos</CODE></A>, <A href="GXInitLightPosv.html"><CODE>GXInitLightPosv</CODE></A>, <A href="GXInitSpecularDir.html"><CODE>GXInitSpecularDir</CODE></A> or <A href="GXInitSpecularDirv.html"><CODE>GXInitSpecularDirv</CODE></A> function.</P> 40 41<H2>See Also</H2> 42<P class="reference"> 43<A href="GXInitLightPos.html">GXInitLightPos</A>, 44<A href="GXInitLightPosv.html">GXInitLightPosv</A>, 45<A href="GXInitSpecularDir.html">GXInitSpecularDir</A>, 46<A href="GXInitSpecularDirv.html">GXInitSpecularDirv</A> 47</P> 48 49<H2>Revision History</H2> 50<P> 512006/03/01 Initial version.<br> 52</P> 53 54<hr><p>CONFIDENTIAL</p></body> 55</HTML>