[][src]Function splines::interpolate::cubic_bezier_def

pub fn cubic_bezier_def<V, T>(a: V, u: V, v: V, b: V, t: T) -> V where
    V: Linear<T>,
    T: Additive + Mul<T, Output = T> + One

Default implementation of Interpolate::cubic_bezier.

V is the value being interpolated. T is the sampling value (also sometimes called time).