Added Earth2 example, renamed OPENGL2 to OPENGL in all examples

This commit is contained in:
codeanticode
2011-06-23 04:27:34 +00:00
parent 9a93b42e14
commit 102f7150e4
12 changed files with 287 additions and 25 deletions
@@ -3,7 +3,7 @@
// the PShape3D class to create a particle system.
// Rocket model from http://keleb.free.fr/codecorner/models-en.htm
import processing.opengl2.*;
import processing.opengl.*;
PShape3D rocket;
PShape3D particles;
@@ -19,7 +19,7 @@ float timeInc = 0.03;
PVector axis, pos, vel;
void setup() {
size(800, 600, OPENGL2);
size(800, 600, OPENGL);
//orientation(PORTRAIT);
rocket = (PShape3D)loadShape("rocket.obj");