pub trait Triangulate<T, V> {
// Required method
fn triangulate(self) -> TriangulateIterator<T, V> ⓘ;
}Expand description
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§
Sourcefn triangulate(self) -> TriangulateIterator<T, V> ⓘ
fn triangulate(self) -> TriangulateIterator<T, V> ⓘ
convert a stream of Polygons to a stream of triangles