Function rin_graphics::cuboid_color[][src]

pub fn cuboid_color<C: ToRgba>(
    extents: Vec3,
    color: &C
) -> Mesh<Vertex3DColorNormal>

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