void njLightMotion( *light, *motion, frame ) NJS_LIGHT *light NJS_MOTION *motion Float frame
*light | ライト構造体へのポインタ |
*motion | モーション構造体へのポインタ |
frame | フレーム番号(0〜モーションフレーム数未満) |
extern NJS_MOTION MOTION[]; extern NJS_LIGHT LIGHT[]; : njSetLight(LIGHT); : njLightMotion( LIGHT,MOTION,ff ); ff+=0.2f; if( ff >= (MOTION->nbFrame-1) ) ff=0.f; :