#include <revolution/gx.h>void GXGetLightPos(
const GXLightObj* lt_obj,
f32* x,
f32* y,
f32* z );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 |
None.
This function returns the position of the light from a light object. The light position can be set using GXInitLightPos, GXInitLightPosv, GXInitSpecularDir, and GXInitSpecularDirv.
03/01/2006 Initial version.