Function anim::constrain_handles_time
Function Documentation
-
void anim::constrain_handles_time(Keyframe &keyframe, const Keyframe *prev_keyframe_ptr, const Keyframe *next_keyframe_ptr)
Clamps both handle times within the neighbouring keyframes.
- Parameters:
keyframe – The keyframe whose handles are clamped.
prev_keyframe_ptr – Previous keyframe, or nullptr if this is the first.
next_keyframe_ptr – Next keyframe, or nullptr if this is the last.