GXGetLightDir

Syntax

#include <revolution/gx.h>

void GXGetLightDir(
    const GXLightObj*   lt_obj,
    f32*                nx,
    f32*                ny,
    f32*                nz );

Arguments

lt_obj Pointer to a light object.
nx X component of the light normal
ny Y component of the light normal
nz Z component of the light normal

Return Values

None.

Description

This function returns the direction of the light from a light object. Use the GXInitLightDir, GXInitLightDirv, GXInitSpecularDir or GXInitSpecularDirv function to set the light direction.

See Also

GXInitLightDir

Revision History

2006/03/01 Initial version.


CONFIDENTIAL