#include <revolution/gx.h>
void GXGetLightPos(
const GXLightObj* lt_obj,
f32* x,
f32* y,
f32* z );
| 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. |
None.
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.
2006/03/01 Initial version.
CONFIDENTIAL