[−][src]Trait genmesh::EmitTriangles
provides a way to convert a polygon down to triangles
Associated Types
type Vertex
The content of each point in the face
Required methods
fn emit_triangles<F>(&self, _: F) where
F: FnMut(Triangle<Self::Vertex>),
F: FnMut(Triangle<Self::Vertex>),
convert a polygon to one or more triangles, each triangle
is returned by calling emit
Implementors
impl<T: Clone> EmitTriangles for Polygon<T>
[src]
type Vertex = T
fn emit_triangles<F>(&self, emit: F) where
F: FnMut(Triangle<T>),
[src]
F: FnMut(Triangle<T>),
impl<T: Clone> EmitTriangles for Quad<T>
[src]
type Vertex = T
fn emit_triangles<F>(&self, emit: F) where
F: FnMut(Triangle<T>),
[src]
F: FnMut(Triangle<T>),
impl<T: Clone> EmitTriangles for Triangle<T>
[src]
type Vertex = T
fn emit_triangles<F>(&self, emit: F) where
F: FnMut(Triangle<T>),
[src]
F: FnMut(Triangle<T>),