Skip to content

Commit 08a0930

Browse files
authored
Update PShapeOpenGL.java
Apply Stan le Punk fix for rotateZ in vanilla processing
1 parent 6b1348a commit 08a0930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/processing/opengl/PShapeOpenGL.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ public void rotateY(float angle) {
12691269

12701270
@Override
12711271
public void rotateZ(float angle) {
1272-
transform(ROTATE, angle);
1272+
transform(angle, 0, 0, 1);
12731273
}
12741274

12751275

0 commit comments

Comments
 (0)