Skip to main content

remap

Function remap 

Source
pub fn remap(v: f32, in_a: f32, in_b: f32, out_a: f32, out_b: f32) -> f32
Expand description

Maps v from the range in_a..in_b to out_a..out_b (not clamped).