From 8f6530c08085792a9c19f661f1c5ee7dea60f9a4 Mon Sep 17 00:00:00 2001 From: codeanticode Date: Mon, 31 Dec 2012 00:41:32 +0000 Subject: [PATCH] Updated PShape examples to use setTexture --- java/examples/Demos/Graphics/Planets/Planets.pde | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java/examples/Demos/Graphics/Planets/Planets.pde b/java/examples/Demos/Graphics/Planets/Planets.pde index 81dd03ac6..3e6494a54 100644 --- a/java/examples/Demos/Graphics/Planets/Planets.pde +++ b/java/examples/Demos/Graphics/Planets/Planets.pde @@ -63,13 +63,13 @@ void setup() { sphereDetail(40); sun = createShape(SPHERE, 150); - sun.texture(suntex); + sun.setTexture(suntex); planet1 = createShape(SPHERE, 150); - planet1.texture(surftex1); + planet1.setTexture(surftex1); planet2 = createShape(SPHERE, 50); - planet2.texture(surftex2); + planet2.setTexture(surftex2); } void draw() {