mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
using processing Y-axis orientation for ortho() and frustum(), centering ortho() at top left corner.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user