Skip to main content

apply_easing_to_range

Function apply_easing_to_range 

Source
pub fn apply_easing_to_range(
    curve: &mut FloatCurve,
    t0: f64,
    t1: f64,
    easing: &dyn Fn(f32) -> f32,
)
Expand description

Apply an easing to a FloatCurve time range [t0, t1].