njRotateLightZ Japanese
<-|INDEX|->
Rotates a light matrix around the Z axis.

FORMAT

#include <NINJA.H> 
void njRotateLightZ( *ptr, angz )
NJS_LIGHT *ptr
Angle angz 

PARAMETERS

*ptr
light pointer
angz
angle of rotation around Z axis

RETURN VALUE

Mone

ERROR VALUE

‚È‚µ

FUNCTION


EXAMPLE

#include <NINJA.H> 
...........

NJS_LIGHT light;

njInitSystem();
njCreateLight(&light, NJD_POINT_LIGHT);

...........
njClearMatrix();

/* Rotate 30 degrees around Z axis */
njRotateLightZ(&light, NJM_RAD_ANG(NJD_PI/6.f));

NOTES


RELATED TOPICS

njCreateLight()

njRotateLightZ
<-|INDEX|->

Copyright SEGA ENTERPRISES, LTD., 1997