Trait genmesh::EmitTriangles [] [src]

pub trait EmitTriangles {
    type Vertex;
    fn emit_triangles<F>(&self, _: F)
    where
        F: FnMut(Triangle<Self::Vertex>)
; }

provides a way to convert a polygon down to triangles

Associated Types

The content of each point in the face

Required Methods

convert a polygon to one or more triangles, each triangle is returned by calling emit

Implementors