mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
tessellatePolygon() should be done now
This commit is contained in:
@@ -11901,15 +11901,16 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
int vidx = 0;
|
||||
int cidx = 0;
|
||||
while (vidx < in.vertexCount) {
|
||||
boolean brk = in.breaks[vidx];
|
||||
|
||||
int code = VERTEX;
|
||||
boolean brk = false;
|
||||
if (in.codes != null) {
|
||||
|
||||
code = in.codes[cidx];
|
||||
if (code == BREAK) {
|
||||
brk = true;
|
||||
code = in.codes[cidx++];
|
||||
}
|
||||
}
|
||||
|
||||
// in.codes[cidx];
|
||||
|
||||
if (brk) {
|
||||
gluTess.endContour();
|
||||
gluTess.beginContour();
|
||||
|
||||
Reference in New Issue
Block a user