From bebf792699542ef3cd610363b35bb4b3c43d5193 Mon Sep 17 00:00:00 2001 From: rishab Date: Thu, 6 Mar 2025 20:51:44 +0530 Subject: [PATCH] pre multiplied projection matrix --- core/src/processing/opengl/PGraphicsOpenGL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/processing/opengl/PGraphicsOpenGL.java b/core/src/processing/opengl/PGraphicsOpenGL.java index 88164f43e1..2d6dca9914 100644 --- a/core/src/processing/opengl/PGraphicsOpenGL.java +++ b/core/src/processing/opengl/PGraphicsOpenGL.java @@ -4481,7 +4481,7 @@ public void ortho(float left, float right, // 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);