pub fn lerp<T, R>(first: T, second: T, factor: R) -> Twhere T: Add<Output = T> + Mul<R, Output = T>, R: Real,
Linear interpolation of the two values given.