*object | Pointer to object structure |
*motion | Pointer to motion structure |
frame | Frame number |
#define OBJECT object_sample #define MOTION motion_sample extern NJS_OBJECT OBJECT[]; extern NJS_MOTION MOTION[]; : njFastDrawMotion( ACTION,ff ); ff+=0.2f; if( ff >= (ACTION->motion->nbFrame) ) ff-=ACTION->motion->nbFrame; :