[][src]Function nannou::mesh::with_colors

pub fn with_colors<M, C>(mesh: M, colors: C) -> WithColors<M, C> where
    M: Points,
    C: Channel

Combine the given mesh with the given channel of vertex colors.

Panics if the length of the colors channel differs from points.