• Returns the normalized position (t) of the value between the minimum and maximum

    Parameters

    • min: number

      The minimum value, for t = 0.

    • max: number

      The maximum value, for t = 1.

    • value: number

      The position between the minimum and maximum.

    Returns number

    0 when value == min, 1 when value == max, otherwise the fraction between min and max. Not clamped.