bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
remap
bettercmath
valuerange
Remap
value
from the
input
range to
output
range.
T
remap
(T value, T inputStart, T inputEnd, T outputStart, T outputEnd)
T
remap
(T value, ValueRange!T input, ValueRange!T output)
T
remap
(
T
)
(
const
T
value
,
const
ValueRange
!
T
input
,
const
ValueRange
!
T
output
)
Meta
Source
See Implementation
bettercmath
valuerange
functions
remap
structs
ValueRange
Remap value from the input range to output range.