a few corrections in the java mode examples

This commit is contained in:
codeanticode
2012-09-05 23:47:44 +00:00
parent e67f0d653d
commit 3661d09ed3
5 changed files with 19 additions and 3 deletions
@@ -17,7 +17,7 @@ float roty = PI/4;
void setup() {
size(640, 360, P3D);
tex = loadImage("berlin-1.jpg");
textureMode(NORMALIZED);
textureMode(NORMAL);
fill(255);
stroke(color(44,48,32));
}
@@ -88,4 +88,4 @@ void mouseDragged() {
float rate = 0.01;
rotx += (pmouseY-mouseY) * rate;
roty += (mouseX-pmouseX) * rate;
}
}