#include <revolution/gx.h>void GXGetLightDir(
const GXLightObj* lt_obj,
f32* nx,
f32* ny,
f32* nz );lt_obj |
Pointer to a light object |
nx |
Returns the X-coordinate of light normal |
ny |
Returns the Y-coordinate of light normal |
nz |
Returns the Z-coordinate of light normal |
None.
This function returns the direction of the light from a light object. Use GXInitLightDir, GXInitLightDirv, GXInitSpecularDir, or GXInitSpecularDirv to set the light direction.
03/01/2006 Initial version.