pub fn vertices<M, I>(mesh: M) -> Vertices<M> ⓘ
Expand description
Produce an iterator yielding vertices in the order specified via the mesh’s Indices channel.
Requires that the mesh implements Indices and GetVertex.
Returns None
when a vertex has been yielded for every index in the Indices channel.
Panics if the Indices channel produces an index that is out of bounds of the mesh’s vertices.