bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
ValueRange.remap
bettercmath
valuerange
ValueRange
Remap
value
from this range to
newRange
.
struct
ValueRange
(T)
const
T
remap
(
const
T
value
,
const
ValueRange
newRange
)
Meta
Source
See Implementation
bettercmath
valuerange
ValueRange
aliases
ElementType
constructors
this
functions
distance
invert
inverted
lerp
normalize
remap
variables
from
to
Remap value from this range to newRange.