[−][src]Trait genmesh::generators::SharedVertex
The SharedVertex
trait is meant to be used with the IndexedPolygon
trait.
This trait is meant as a way to calculate the shared vertices that are
required to build the implementors mesh.
Required methods
fn shared_vertex(&self, i: usize) -> V
return the shared vertex at offset i
fn shared_vertex_count(&self) -> usize
return the number of shared vertices required to represent the mesh
Provided methods
ⓘImportant traits for SharedVertexIterator<'a, T, V>fn shared_vertex_iter<'a>(&'a self) -> SharedVertexIterator<'a, Self, V>
ⓘImportant traits for SharedVertexIterator<'a, T, V>
create an iterator that returns each shared vertex that is required to build the mesh.