GXGetLightPos

C Specification

#include <revolution/gx.h>
void GXGetLightPos(
const GXLightObj*   lt_obj,
f32*                x,
f32*                y,
f32*                z );

Arguments

lt_obj Pointer to a light object
x Returns the X-coordinate of position
y Returns the Y-coordinate of position
z Returns the Z-coordinate of position

Return Values

None.

Description

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

See Also

GXInitLightPos

Revision History

03/01/2006 Initial version.