pub fn lerp(x: f32, a: f32, b: f32) -> f32
Apply linear interpolation between the value a and b.
a
b
x