pub fn map_clamp<T, E>(
value: T,
inmin: T,
inmax: T,
outmin: T,
outmax: T,
eq: E
) -> T
Expand description
Maps a value from an input range to an output range clamping both the input and output to the corresponding ranges
pub fn map_clamp<T, E>(
value: T,
inmin: T,
inmax: T,
outmin: T,
outmax: T,
eq: E
) -> T
Maps a value from an input range to an output range clamping both the input and output to the corresponding ranges