From f1ea07025608f4daa8af03fb09937e3a1ce3539a Mon Sep 17 00:00:00 2001 From: Felipe Alfonso Date: Thu, 23 Nov 2017 16:02:41 -0300 Subject: [PATCH] Switched inverted rotation transform --- v3/src/gameobjects/components/TransformMatrix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v3/src/gameobjects/components/TransformMatrix.js b/v3/src/gameobjects/components/TransformMatrix.js index 59c281b23..5cf986be1 100644 --- a/v3/src/gameobjects/components/TransformMatrix.js +++ b/v3/src/gameobjects/components/TransformMatrix.js @@ -65,7 +65,7 @@ var TransformMatrix = new Class({ var radianSin = Math.sin(radian); var radianCos = Math.cos(radian); - return this.transform(radianCos, -radianSin, radianSin, radianCos, 0, 0); + return this.transform(radianCos, radianSin, -radianSin, radianCos, 0, 0); }, multiply: function (otherMatrix)