From 2b2789641b03b98564a7f7e905448dc522fe1af9 Mon Sep 17 00:00:00 2001 From: codeanticode Date: Tue, 3 Sep 2013 14:40:57 -0400 Subject: [PATCH] updated PrimitiveShape example --- .../Topics/Create Shapes/PrimitivePShape/PrimitivePShape.pde | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java/examples/Topics/Create Shapes/PrimitivePShape/PrimitivePShape.pde b/java/examples/Topics/Create Shapes/PrimitivePShape/PrimitivePShape.pde index 9ae00c12a..6e24680ec 100644 --- a/java/examples/Topics/Create Shapes/PrimitivePShape/PrimitivePShape.pde +++ b/java/examples/Topics/Create Shapes/PrimitivePShape/PrimitivePShape.pde @@ -12,8 +12,7 @@ void setup() { size(640, 360, P2D); smooth(); // Creating the PShape as an ellipse - // The corner is -50,-50 so that the center is at 0,0 - circle = createShape(ELLIPSE, -50, -25, 100, 50); + circle = createShape(ELLIPSE, 0, 0, 100, 50); } void draw() { @@ -27,4 +26,3 @@ void draw() { // Drawing the PShape shape(circle); } -