- static float calculate_bezier(FloatAuto *previous, FloatAuto *next, int64_t position);
- static float calculate_bezier_derivation(FloatAuto *previous, FloatAuto *next, int64_t position);
- void get_extents(float *min,
- float *max,
- int *coords_undefined,
- int64_t unit_start,
- int64_t unit_end);
+ static float calculate_bezier(FloatAuto *previous, FloatAuto *next,
+ int64_t position, int direction=PLAY_FORWARD);
+ static float calculate_bezier_derivation(FloatAuto *previous, FloatAuto *next,
+ int64_t position);
+ void get_extents(float *min, float *max, int *coords_undefined,
+ int64_t unit_start, int64_t unit_end);