Skip to main content

easing_points_at

Function easing_points_at 

Source
pub fn easing_points_at(points: &[EasingPoint], progress: f64) -> f64
Expand description

The output of a points curve at linear progress (clamped to 0..=1): the straight line between its two neighbours among (0, 0), the points and (1, 1).