ease_in_out_cubic

Function ease_in_out_cubic 

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

Ease-in-out cubic rate function

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