mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Fixing winding: polygons are now solid
This commit is contained in:
@@ -2363,7 +2363,7 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
if (normalMode == NORMAL_MODE_AUTO) inGeo.calcQuadStripNormals();
|
||||
tessellator.tessellateQuadStrip();
|
||||
} else if (shape == POLYGON) {
|
||||
tessellator.tessellatePolygon(false, mode == CLOSE,
|
||||
tessellator.tessellatePolygon(true, mode == CLOSE,
|
||||
normalMode == NORMAL_MODE_AUTO);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user