Fixed argument order in ortho(left, right, top, bottom)

This commit is contained in:
codeanticode
2011-02-28 05:08:58 +00:00
parent f28f0521fd
commit 27096a4601
@@ -4394,7 +4394,7 @@ public class PGraphicsOpenGL2 extends PGraphics {
* from the current camera configuration.
*/
public void ortho(float left, float right, float bottom, float top) {
ortho(0, width, 0, height, cameraNear, cameraFar);
ortho(left, right, bottom, top, cameraNear, cameraFar);
}
/**