Merge pull request #954 from Rishab87/unexpected-y-axis

Fixed unexpected Y-axis translation when using ```ortho()``` and ```resetMatrix()```
This commit is contained in:
Stef Tervelde
2025-03-24 18:36:31 +01:00
committed by GitHub
@@ -4481,7 +4481,7 @@ public class PGraphicsOpenGL extends PGraphics {
// The minus sign is needed to invert the Y axis.
projection.set(x, 0, 0, tx,
0, -y, 0, ty,
0, -y, 0, -ty,
0, 0, z, tz,
0, 0, 0, 1);