Function ncollide_procedural::unit_sphere [] [src]

pub fn unit_sphere<N>(ntheta_subdiv: u32, nphi_subdiv: u32, generate_uvs: bool) -> TriMesh<Pnt3<N>> where N: Scalar

Generates a UV sphere centered at the origin and with a unit diameter.