Function rin::graphics::cuboid_color[][src]

pub fn cuboid_color<C>(
    extents: Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>,
    color: &C
) -> Mesh<Vertex3DColorNormal> where
    C: ToRgba

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