DVUI

inOutSine

curve

Parameters

#
t:f32
f32

Source

Implementation

#
pub fn inOutSine(t: f32) f32 {
    return (std.math.cos(t * std.math.pi) - 1) / -2;
}