pre multiplied projection matrix

This commit is contained in:
rishab
2025-03-06 20:51:44 +05:30
parent 316a9023ba
commit bebf792699
@@ -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);