pub fn lerp(a: f32, b: f32, t: f32) -> f32
Linearly interpolates between two values given a progress value.