Function anim::bezier_utils::create_flat_bezier_handles
Function Documentation
-
void anim::bezier_utils::create_flat_bezier_handles(const Point &keyframe_point, double time_offset, Point &out_in_handle, Point &out_out_handle)
Produces flat (horizontal) handles around a keyframe point.
- Parameters:
keyframe_point – The keyframe position the handles surround.
time_offset – Horizontal distance of each handle from the keyframe.
out_in_handle – Receives the in-handle (keyframe value, time - offset).
out_out_handle – Receives the out-handle (keyframe value, time + offset).