DVUI

inBack

curve

This function extents past 0 and 1 for values of t between 0 and 1

Parameters

#
t:f32
f32

Source

Implementation

#
pub fn inBack(t: f32) f32 {
    const s: f32 = 1.70158;
    return t * t * ((s + 1) * t - s);
}