GXGetLightPos

Syntax

#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 X-coordinate of the position.
y Y-coordinate of the position.
z Z-coordinate of the position.

Return Values

None.

Description

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

See Also

GXInitLightPos

Revision History

2006/03/01 Initial version.


CONFIDENTIAL