Function rin_graphics::cube_color[][src]

pub fn cube_color<C: ToRgba>(side: f32, color: &C) -> Mesh<Vertex3DColorNormal>

Returns a cube as a filled mesh with position, colors per vertex and normals