splines::interpolate

Function cubic_bezier_def

Source
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,
Expand description

Default implementation of Interpolate::cubic_bezier.

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