Skip to main content

region

Function region 

Source
pub fn region(
    plane: &CoordinateSystem,
    outer: &[Vector2],
    holes: &[Vec<Vector2>],
) -> Shape
Expand description

The area of plane’s u/v plane inside outer but outside holes, as triangles — to draw a region filled. No triangles for loops that do not triangulate.