pub fn inv_lerp(a: f64, b: f64, v: f64) -> f64
Inverse lerp: returns t such that lerp(a, b, t) == v, or 0 if a==b.
t
lerp(a, b, t) == v
0
a==b