Function rin_graphics::sphere_color[][src]

pub fn sphere_color<C: ToRgba>(
    radius: f32,
    rings: u32,
    sectors: u32,
    color: &C
) -> Mesh<Vertex3DColorNormal>

Returns a sphere as a filled mesh with position, color per vertex and normals