*ptr | Pointer to light source |
angx | X 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 90 degrees on the X axis */ njRotateLightX(&light, NJM_RAD_ANG(NJD_PI/2.f));