GXGetLightPosv

Syntax

#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 may use an f32-type array or 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 the GXInitLightPos, GXInitLightPosv, GXInitSpecularDir or GXInitSpecularDirv function.

See Also

GXInitLightPos, GXInitLightPosv, GXInitSpecularDir, GXInitSpecularDirv

Revision History

2006/03/01 Initial version.


CONFIDENTIAL