[−][src]Function graphics::triangulation::with_polygon_tri_list
pub fn with_polygon_tri_list<F>(m: Matrix2d, polygon: Polygon<'_>, f: F) where
F: FnMut(&[[f32; 2]]),
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.