Skip to content
FutureBlitz

    Install

    Import std.math.scalar

    Remap

    std.math.scalar

    function

    Public Function Remap<T>(value: T, fromLow: T, fromHigh: T, toLow: T, toHigh: T): T

    The value moved from one range to another, as far through toLow to toHigh as it is through fromLow to fromHigh: Remap(5, 0, 10, 100, 200) is 150.

    std/math/scalar.fb, line 197

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