I'm trying to make union from the polygons in this way:
You can see the direction from arrows: clockwise for holes and counterclockwise for solids.
But as the result shows, it doesn't work. I tried with all GLU_TESS_WINDING_RULE combinations but couldn't make it work.
Is this possible with bare GLUtesselator, or do I need some other library for this? Can Clipper lib do it?