ncollide3d::procedural

Function bezier_surface

Source
pub fn bezier_surface<N>(
    control_points: &[Point<N>],
    nupoints: usize,
    nvpoints: usize,
    usubdivs: usize,
    vsubdivs: usize,
) -> TriMesh<N>
where N: RealField + Copy,
Expand description

Given a set of control points, generates a (non-rational) Bezier surface.