Function nannou::geom::polygon::triangle_indices[][src]

pub fn triangle_indices(n_points: usize) -> TriangleIndices

Notable traits for TriangleIndices

impl Iterator for TriangleIndices type Item = usize;
Expand description

An iterator yielding indices into a polygon’s vertices required to triangulate the polygon.