Skip to content

Commit 867d770

Browse files
authored
Merge pull request jdf#122 from villares/patch-2
Update PShape_endContour.xml
2 parents 956fca7 + a891401 commit 867d770

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎Reference/api_en/PShape_endContour.xml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ def setup():
2121
s = createShape()
2222
s.beginShape()
2323
s.noStroke()
24-
# Exterior part of shape
24+
# Exterior part of shape, clockwise winding
2525
s.vertex(-50,-50)
2626
s.vertex(50,-50)
2727
s.vertex(50,50)
2828
s.vertex(-50,50)
29-
# Interior part of shape
29+
# Interior part of shape, counter-clockwise winding
3030
s.beginContour()
3131
s.vertex(-20,-20)
32-
s.vertex(20,-20)
33-
s.vertex(20,20)
3432
s.vertex(-20,20)
33+
s.vertex(20,20)
34+
s.vertex(20,-20)
3535
s.endContour()
3636
# Finish off shape
3737
s.endShape()

0 commit comments

Comments
 (0)