Function rin::graphics::catmull_rom_vertices[][src]

pub fn catmull_rom_vertices<Point, F>(
    p0: &Point,
    p1: &Point,
    p2: &Point,
    p3: &Point,
    alpha: <Point as NumPnt>::Field,
    resolution: u32,
    f: F
) where
    F: FnMut(Point),
    Point: FloatPnt + Copy,
    <Point as NumPnt>::Field: RealField,
    <Point as NumPnt>::Field: NumCast,
    <Point as NumPnt>::Field: Float,
    <Point as NumPnt>::Coordinates: Neg,
    <Point as NumPnt>::Coordinates: Copy,
    <Point as NumPnt>::Coordinates: ToPnt<Point>,
    <<Point as NumPnt>::Coordinates as Neg>::Output == <Point as NumPnt>::Coordinates