Function rin::math::bezier_interpolate[][src]

pub fn bezier_interpolate<T, U>(from: U, cp1: U, cp2: U, to: U, pct: T) -> U where
    T: RealField + NumCast,
    U: Sub<U, Output = U> + Mul<T, Output = U> + Add<U, Output = U> + Copy

Bezier interpolation from from to to using the control points cp1 and cp2 at the normalized distance pct