using processing Y-axis orientation for ortho() and frustum(), centering ortho() at top left corner.

This commit is contained in:
codeanticode
2012-11-30 02:41:23 +00:00
parent 525b16a6a2
commit f49e889773
3 changed files with 12 additions and 12 deletions

View File

@@ -120,7 +120,7 @@ public class PGraphics2D extends PGraphicsOpenGL {
@Override
protected void defaultPerspective() {
super.ortho(0, width, height, 0, -1, +1);
super.ortho(0, width, 0, height, -1, +1);
}