From 3dea3d129f4015372d49f5ac2349b674599f9cff Mon Sep 17 00:00:00 2001 From: codeanticode Date: Mon, 28 Feb 2011 05:11:47 +0000 Subject: [PATCH] Fixed CameraLight example to take into account fix in ortho() function --- android/examples/OpenGL/CameraLight/CameraLight.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/examples/OpenGL/CameraLight/CameraLight.pde b/android/examples/OpenGL/CameraLight/CameraLight.pde index 7c567c0a1..81c0007e7 100644 --- a/android/examples/OpenGL/CameraLight/CameraLight.pde +++ b/android/examples/OpenGL/CameraLight/CameraLight.pde @@ -18,7 +18,7 @@ void draw() { if (mousePressed) { // The arguments of ortho are specified in screen coordinates, where (0,0) // is the upper left corner of the screen - ortho(0, 0, width, height); + ortho(0, width, 0, height); } else { float fov = PI/3.0;