mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 19:31:16 +01:00
using CORNER for rectMode and ellipseMode by default in PShapeOpenGL,
fix #2086
This commit is contained in:
@@ -356,8 +356,10 @@ public class PShapeOpenGL extends PShape {
|
||||
sphereDetailU = pg.sphereDetailU;
|
||||
sphereDetailV = pg.sphereDetailV;
|
||||
|
||||
rectMode = pg.rectMode;
|
||||
ellipseMode = pg.ellipseMode;
|
||||
// The rect and ellipse modes are set to CORNER since it is the expected
|
||||
// mode for svg shapes.
|
||||
rectMode = CORNER;
|
||||
ellipseMode = CORNER;
|
||||
|
||||
normalX = normalY = 0;
|
||||
normalZ = 1;
|
||||
|
||||
Reference in New Issue
Block a user