Function visioncortex::rasterizer::walk_triangle
source · pub fn walk_triangle(triangle: &[PointI32; 3]) -> TriangleRasterizer ⓘ
Expand description
Walk through all points of this triangle via iterator. Adapted from https://github.com/rastapasta/points-in-triangle