Skip to content
FutureBlitz

    Install

    Import std.math.easing

    EaseInOutQuad

    std.math.easing

    function

    Public Function EaseInOutQuad(t: Float): Float

    In and out along t squared.

    Examples

    Expect(EaseInOutQuad(0) == 0.0 && EaseInOutQuad(1) == 1.0)
    Expect(EaseInOutQuad(0.5) == 0.5)
    Expect(EaseInQuad(0.5) == 0.25 && EaseOutQuad(0.5) == 0.75)

    std/math/easing.fb, line 46

    Report an issue with this page or with FutureBlitz on GitHub.