njRotateLightY Japanese
<-|INDEX|->
Rotates a light matrix around the Y axis.

FORMAT

#include <NINJA.H> 
void njRotateLightY( *ptr, angy )
NJS_LIGHT *ptr
Angle angy 

PARAMETERS

*ptr
light pointer
angy
angle of rotation around Y axis

RETURN VALUE

None

ERROR VALUE

None

FUNCTION


EXAMPLE

#include <NINJA.H> 
...........
      
NJS_LIGHT light;

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

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

/* Rotate 60 degrees around Yaxis */
njRotateLightY(&light, NJM_RAD_ANG(NJD_PI/3.f));

NOTES


RELATED TOPICS

njCreateLight

njRotateLightY
<-|INDEX|->

Copyright SEGA ENTERPRISES, LTD., 1997