Function vector_space::interpolate[][src]

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

The linear interpolation of two points.