remap

Remap value from the range [inputStart, inputEnd] to [outputStart, outputEnd].

  1. T remap(T value, T inputStart, T inputEnd, T outputStart, T outputEnd)
    T
    remap
    (
    T
    )
    (
    const T value
    ,
    const T inputStart
    ,
    const T inputEnd
    ,
    const T outputStart
    ,
    const T outputEnd
    )
  2. T remap(T value, ValueRange!T input, ValueRange!T output)

Meta