Function rin::graphics::sphere_color [−][src]
pub fn sphere_color<C>(
radius: f32,
rings: u32,
sectors: u32,
color: &C
) -> Mesh<Vertex3DColorNormal> where
C: ToRgba,
Returns a sphere as a filled mesh with position, color per vertex and normals