We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, I'm trying to draw a PShape with a hole inside, and I get a weird result, so I copypasted the example from there : https://processing.org/reference/PShape_beginContour_.html , and made a render.
This is the result : https://imgur.com/a/V4hHr
It looks like it ignores the begincontour and endcontour functions.
Is it broken, or I misunderstood how contour works ?
if it is broken I will do a report on github
Regard
Answers
The exterior shape and the interior contour must wind in opposite directions.
Is that the case in your code?
No, it works now for my code,thanks :)