mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
don't call closePath() in 2D tessellation of edges, since they are already closed
This commit is contained in:
@@ -10133,13 +10133,13 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
path.lineTo(in.vertices[3 * i1 + 0], in.vertices[3 * i1 + 1]);
|
||||
break;
|
||||
case EDGE_STOP:
|
||||
path.lineTo(in.vertices[3 * i1 + 0], in.vertices[3 * i1 + 1]);
|
||||
path.closePath();
|
||||
path.lineTo(in.vertices[3 * i1 + 0], in.vertices[3 * i1 + 1]);
|
||||
path.moveTo(in.vertices[3 * i1 + 0], in.vertices[3 * i1 + 1]);
|
||||
break;
|
||||
case EDGE_SINGLE:
|
||||
path.moveTo(in.vertices[3 * i0 + 0], in.vertices[3 * i0 + 1]);
|
||||
path.lineTo(in.vertices[3 * i1 + 0], in.vertices[3 * i1 + 1]);
|
||||
path.closePath();
|
||||
path.moveTo(in.vertices[3 * i1 + 0], in.vertices[3 * i1 + 1]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user