Function nannou::mesh::with_tex_coords

source ·
pub fn with_tex_coords<M, T>(mesh: M, tex_coords: T) -> WithTexCoords<M, T>
where M: Points, T: Channel,
Expand description

Combine the given mesh with the given channel of vertex texture coordinates.

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