Skip to main content

ease_in_out

Function ease_in_out 

Source
pub fn ease_in_out(p: f32) -> f32
Expand description

p (0 to 1; clamped, not a number counts as 0) eased in and out: slow at both ends, fastest in the middle. It is smoothstep, the curve of Ease::Smooth, in f32; through ease_f32 a skin has every other curve too.