ncollide3d::procedural

Function cylinder

Source
pub fn cylinder<N: RealField + Copy>(
    diameter: N,
    height: N,
    nsubdiv: u32,
) -> TriMesh<N>
Expand description

Generates a cylinder with a given height and diameter.