Function graphics::triangulation::stream_quad_tri_list [] [src]

pub fn stream_quad_tri_list<E, F>(m: Matrix2d, quad_edge: E, f: F) where E: FnMut() -> Option<(Vec2d, Vec2d)>, F: FnMut(&[f32])

Streams a quad into tri list.

Uses buffers that fit inside L1 cache. The 'quad_edge' stream returns two points defining the next edge.