[][src]Type Definition nannou::mesh::Triangles

type Triangles<M> = IterFromVertices<Vertices<M>>;

An iterator yielding triangles in the order specified via the mesh's Indices channel.

Requires that the mesh implements Indices and GetVertex.

Panics if the Indices channel produces an index that is out of bounds of the mesh's