splines::interpolate

Function quadratic_bezier_def

Source
pub fn quadratic_bezier_def<V, T>(a: V, u: V, b: V, t: T) -> V
where V: Linear<T>, T: Additive + Mul<T, Output = T> + One,
Expand description

Default implementation of Interpolate::quadratic_bezier.

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