[][src]Function nannou::mesh::with_tex_coords

pub fn with_tex_coords<M, T, S>(
    mesh: M,
    tex_coords: T
) -> WithTexCoords<M, T, S> where
    M: Points,
    T: Channel<Element = Point2<S>>,
    S: BaseFloat

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

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