interpolate

Function interpolate 

Source
pub fn interpolate<T>(a: T, b: T, ratio: <T::Diff as VectorSpace>::Scalar) -> T
where T: Clone + AffineSpace + Add<T::Diff, Output = T>,
Expand description

Linear interpolation of two points.