Closed
Description
In GitLab by @OverdriveNGain on Mar 23, 2017, 13:33
PShape s;
s = createShape();
translate(50, 50);
s.beginShape();
s.vertex(-40, -40);
s.vertex(40, -40);
s.vertex(40, 40);
s.vertex(-40, 40);
s.endShape(CLOSE);
s.beginShape();
s.beginContour();
s.vertex(-20, -20);
s.vertex(-20, 20);
s.vertex(20, 20);
s.vertex(20, -20);
s.endContour();
s.endShape();
shape(s);
this code came directly from the processing website (although shortened), yet it still doesnt work. https://processing.org/reference/PShape_beginContour_.html