void njRotateLightX( *ptr, angx ) NJS_LIGHT *ptr Angle angx
*ptr | ライトのポインタ |
angx | X軸回転角度 |
: NJS_LIGHT light; : njCreateLight(&light, NJD_POINT_LIGHT); : njClearMatrix(); /* Rotate 90 degrees on the X axis */ njRotateLightX(&light, NJM_RAD_ANG(NJD_PI/2.f));