Function ncollide::procedural::unit_sphere
[−]
[src]
pub fn unit_sphere<N>(ntheta_subdiv: u32,
nphi_subdiv: u32,
generate_uvs: bool)
-> TriMesh<PointBase<N, U3, MatrixArray<N, U3, U1>>> where N: Real
Generates a UV sphere centered at the origin and with a unit diameter.