From 1ba2a25180dad6c343cd4cabfa3eb7d56ef0ab7b Mon Sep 17 00:00:00 2001 From: Stan le Punk Date: Sun, 1 Dec 2019 21:58:05 +0100 Subject: [PATCH] Fix RotateZ bug --- core/src/processing/opengl/PShapeOpenGL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/processing/opengl/PShapeOpenGL.java b/core/src/processing/opengl/PShapeOpenGL.java index c24084751..96165fb81 100644 --- a/core/src/processing/opengl/PShapeOpenGL.java +++ b/core/src/processing/opengl/PShapeOpenGL.java @@ -1269,7 +1269,7 @@ public class PShapeOpenGL extends PShape { @Override public void rotateZ(float angle) { - transform(ROTATE, angle); + rotate(angle, 0, 0, 1); }