Function rin::graphics::plane_color [−][src]
pub fn plane_color<C>(
size: Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>,
rows: u32,
cols: u32,
color: &C
) -> Mesh<Vertex3DColorNormal> where
C: ToRgba,
Returns a plane as a filled mesh with position, colors per vertex and normals