pub fn remap( v: f32, in_min: f32, in_max: f32, out_min: f32, out_max: f32, ) -> f32
Map a value from [in_min, in_max] to [out_min, out_max].