Updated Create Shapes examples to only use P2D

This commit is contained in:
codeanticode
2012-07-23 17:35:54 +00:00
parent dc0fa5481a
commit 1efef5e4cd
3 changed files with 3 additions and 3 deletions

View File

@@ -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();

View File

@@ -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);

View File

@@ -8,7 +8,7 @@
PShape path;
void setup() {
size(640, 360, P3D);
size(640, 360, P2D);
smooth();
// Create the shape
path = createShape();