GXGetLightPosv

C Specification

#include <revolution/gx.h>
#define GXGetLightPosv(lo, vec) \
(GXGetLightPos((lo), (f32*)(vec), (f32*)(vec)+1, (f32*)(vec)+2))

Arguments

lo Pointer to a light object
vec Position vector. You can use an array of f32 or a structure.

Return Values

None.

Description

This function returns the position of the light from a light object in a vector structure. The light position may be set using GXInitLightPos, GXInitLightPosv, GXInitSpecularDir, and GXInitSpecularDirv.

See Also

GXInitLightPos
GXInitLightPosv
GXInitSpecularDir
GXInitSpecularDirv

Revision History

03/01/2006 Initial version.