Function nannou_mesh::with_colors [−][src]
pub fn with_colors<M, C>(mesh: M, colors: C) -> WithColors<M, C> where
M: Points,
C: Channel,
Expand description
Combine the given mesh with the given channel of vertex colors.
Panics if the length of the colors channel differs from points.