*ptr | Pointer to light source |
angy | Y axis rotation angle |
#include <Shinobi.h> : NJS_LIGHT light; sbInitSystem( NJD_RESOLUTION_VGA, NJD_FRAMEBUFFER_MODE_RGB565, 1); njCreateLight(&light, NJD_POINT_LIGHT); : njClearMatrix(); /* Rotate Y axis 60 degrees */ njRotateLightY(&light, NJM_RAD_ANG(NJD_PI/3.f));