mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 10:30:44 +01:00
fix is3D/set3D mixup, add getVertexCount() warning
This commit is contained in:
@@ -191,7 +191,7 @@ public class PGraphics3D extends PGraphicsOpenGL {
|
||||
} else if (type == PShape.GEOMETRY) {
|
||||
shape = new PShapeOpenGL(pg, PShape.GEOMETRY);
|
||||
}
|
||||
shape.is3D(true);
|
||||
shape.set3D(true);
|
||||
return shape;
|
||||
}
|
||||
|
||||
@@ -272,7 +272,7 @@ public class PGraphics3D extends PGraphicsOpenGL {
|
||||
shape.setParams(p);
|
||||
}
|
||||
|
||||
shape.is3D(true);
|
||||
shape.set3D(true);
|
||||
return shape;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user