MODELANIM_LOOP=1<<1,// animation loops, otherwise it stays on the last frame once it ends
};
structModelAnim
{
intfirstFrame=0;
intlastFrame=0;
intloopFrame=0;
floatframerate=0;
doublestartFrame=0;
intflags=MODELANIM_NONE;
doublestartTic=0;// when the current animation started (changing framerates counts as restarting) (or when animation starts if interpolating from previous animation)
doubleswitchOffset=0;// when the animation was changed -- where to interpolate the switch from