Function ncollide3d::procedural::unit_sphere[][src]

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

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