ease_in_out_quad

Function ease_in_out_quad 

Source
pub fn ease_in_out_quad(t: f64) -> f64
Expand description

Ease-in-out quad rate function

when t < 0.5: 2.0 * t * t when t >= 0.5: 1.0 - 2.0 * (t - 1.0) * (t - 1.0)