Skip to content
FutureBlitz

    Install

    Import std.math.vector

    Lerp

    std.math.vector

    function

    Public Function Lerp(a: Vec2, b: Vec2, t: Float): Vec2

    The point t of the way from a to b: a at 0, and b itself at 1, though b - a rounds.

    std/math/vector.fb, line 339

    function

    Public Function Lerp(a: Vec3, b: Vec3, t: Float): Vec3

    The point t of the way from a to b: a at 0, and b itself at 1, though b - a rounds.

    std/math/vector.fb, line 343

    function

    Public Function Lerp(a: Vec4, b: Vec4, t: Float): Vec4

    The point t of the way from a to b: a at 0, and b itself at 1, though b - a rounds.

    std/math/vector.fb, line 347

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