Fixed CameraLight example to take into account fix in ortho() function

This commit is contained in:
codeanticode
2011-02-28 05:11:47 +00:00
parent 6ca31438b7
commit 3dea3d129f
@@ -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;