Fixed matrix2x3::scale() bug that caused skew

This commit is contained in:
Kearwood Kip Gilbert
2018-04-19 11:17:59 -07:00
parent 8f17d17b35
commit 89a6662b6c

View File

@@ -133,7 +133,7 @@ void Matrix2x3::scale(float x, float y) {
newMatrix.init(); newMatrix.init();
newMatrix.c[0] = x; newMatrix.c[0] = x;
newMatrix.c[2] = y; newMatrix.c[3] = y;
*this *= newMatrix; *this *= newMatrix;
} }