DVUI

inSine

curve

Parameters

#
t:f32
f32

Source

Implementation

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