Skip to main content

apply_easing

Function apply_easing 

Source
pub fn apply_easing(t: f32, easing: EasingFunction) -> f32
Expand description

Apply an easing function to a normalized time value (0.0 to 1.0). Used by ScrollAnimation::tick() for smooth scroll animations.