14 #ifndef __UT_TimeUtils_h__
15 #define __UT_TimeUtils_h__
27 T step, T *new_end_frame=0)
38 *new_end_frame = end_frame;
41 if ((end_frame - start_frame) / step < 0.5)
45 if (end_frame > start_frame)
48 t1 = end_frame + inc * 0.01;
49 t = start_frame + inc;
54 t1 = start_frame + inc * 0.01;
57 for (; t1 - t > 0; t += inc)
62 *new_end_frame = start_frame + step * (
fpreal64)nframes;
bool SYSequalZero(const UT_Vector3T< T > &v)
int UTgetNumberOfFrames(T start_frame, T end_frame, T step, T *new_end_frame=0)