Skip to content

Commit fb59882

Browse files
committed
Fixes scaling inversion
1 parent d5a8695 commit fb59882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/processing/opengl/PGraphicsOpenGL.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4413,7 +4413,7 @@ static protected void invScale(PMatrix3D matrix, float x, float y, float z) {
44134413

44144414

44154415
static protected void invScale(PMatrix2D matrix, float x, float y) {
4416-
matrix.preApply(1/x, 0, 0, 1/y, 0, 0);
4416+
matrix.preApply(1/x, 0, 0, 0, 1/y, 0);
44174417
}
44184418

44194419

0 commit comments

Comments
 (0)