[−][src]Trait genmesh::Triangulate
Triangluate
is a easy to to convert any Polygon stream to
a stream of triangles. This is useful since Quads and other geometry
are not supported by modern graphics pipelines like OpenGL.
Required methods
ⓘImportant traits for TriangulateIterator<SRC, V>fn triangulate(self) -> TriangulateIterator<T, V>
ⓘImportant traits for TriangulateIterator<SRC, V>
convert a stream of Polygons to a stream of triangles
Implementors
impl<V, P: EmitTriangles<Vertex = V>, T: Iterator<Item = P>> Triangulate<T, V> for T
[src]
ⓘImportant traits for TriangulateIterator<SRC, V>fn triangulate(self) -> TriangulateIterator<T, V>
[src]
ⓘImportant traits for TriangulateIterator<SRC, V>