Skip to content
FutureBlitz

    Install

    Import std.math.scalar

    InverseLerp

    std.math.scalar

    function

    Public Function InverseLerp<T>(a: T, b: T, value: T): T

    How far of the way from a to b the value is, as Lerp's t: 0 at a, 1 at b. With a equal to b, it's 0.

    std/math/scalar.fb, line 189

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