mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 19:31:16 +01:00
Updated Create Shapes examples to only use P2D
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
PShape s;
|
||||
|
||||
void setup() {
|
||||
size(640, 360, P3D); // Not working in P2D?
|
||||
size(640, 360, P2D);
|
||||
smooth();
|
||||
// Make a shape
|
||||
s = createShape();
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
PShape group;
|
||||
|
||||
void setup() {
|
||||
size(640, 360, P3D);
|
||||
size(640, 360, P2D);
|
||||
smooth();
|
||||
// Create the shape as a group
|
||||
group = createShape(GROUP);
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
PShape path;
|
||||
|
||||
void setup() {
|
||||
size(640, 360, P3D);
|
||||
size(640, 360, P2D);
|
||||
smooth();
|
||||
// Create the shape
|
||||
path = createShape();
|
||||
|
||||
Reference in New Issue
Block a user