ncollide3d::procedural

Function capsule

Source
pub fn capsule<N>(
    caps_diameter: &N,
    cylinder_height: &N,
    ntheta_subdiv: u32,
    nphi_subdiv: u32,
) -> TriMesh<N>
where N: RealField + Copy,
Expand description

Generates a capsule.