ncollide3d::procedural

Function sphere

Source
pub fn sphere<N>(
    diameter: N,
    ntheta_subdiv: u32,
    nphi_subdiv: u32,
    generate_uvs: bool,
) -> TriMesh<N>
where N: RealField + Copy,
Expand description

Generates a UV sphere.