Function piston_window::triangulation::with_polygon_tri_list[][src]

pub fn with_polygon_tri_list<F>(m: [[f64; 3]; 2], polygon: &[[f64; 2]], 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.