From 89a6662b6c2ebae5d7319897c2cb73dcba444c2f Mon Sep 17 00:00:00 2001 From: Kearwood Kip Gilbert Date: Thu, 19 Apr 2018 11:17:59 -0700 Subject: [PATCH] Fixed matrix2x3::scale() bug that caused skew --- src/matrix2x3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix2x3.cpp b/src/matrix2x3.cpp index a89e728..31d5de8 100644 --- a/src/matrix2x3.cpp +++ b/src/matrix2x3.cpp @@ -133,7 +133,7 @@ void Matrix2x3::scale(float x, float y) { newMatrix.init(); newMatrix.c[0] = x; - newMatrix.c[2] = y; + newMatrix.c[3] = y; *this *= newMatrix; }