Function sixtyfps_corelib::animations::easing_curve [−][src]
pub fn easing_curve(curve: &EasingCurve, value: f32) -> f32
map a value betwen 0 and 1 to another value between 0 and 1 according to the curve
pub fn easing_curve(curve: &EasingCurve, value: f32) -> f32
map a value betwen 0 and 1 to another value between 0 and 1 according to the curve