Function me3_framework::overlay::epaint::emath::remap_clamp
source · [−]pub fn remap_clamp<T>(x: T, from: RangeInclusive<T>, to: RangeInclusive<T>) -> Twhere
T: Real,
Expand description
Like remap
, but also clamps the value so that the returned value is always in the to
range.