Function graphics::triangulation::with_polygon_tri_list [] [src]

pub fn with_polygon_tri_list<F>(m: Matrix2d, polygon: Polygon, f: F) where F: FnMut(&[f32])

Splits polygon into convex segments. Create a buffer that fits into L1 cache with 1KB overhead.

See stream_polygon_tri_list docs for detailed explanation.