Multi-vertex curve won't stay open
in
Core Library Questions
•
1 year ago
This sample sketch, from the reference, shows the issue I'm having with Processing 2.0a5:
import processing.opengl.*;
void setup() {
size(120, 120, OPENGL);
}
void draw() {
noFill();
beginShape();
curveVertex(84, 91);
curveVertex(84, 91);
curveVertex(68, 19);
curveVertex(21, 17);
curveVertex(32, 100);
curveVertex(32, 100);
endShape();
}
Same thing happens with P3D, the curve won't stay open.
Anyone has a quick workaround? Has this been fixed already after the 2.0a5 release?
1