Function rin_core::graphics::cube_color[][src]

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

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