[][src]Function nannou::mesh::with_normals

pub fn with_normals<M, N>(mesh: M, normals: N) -> WithNormals<M, N> where
    M: Points,
    M::Point: EuclideanSpace,
    N: Channel<Element = <M::Point as EuclideanSpace>::Diff>, 

Combine the given mesh with the given Normals channel.

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