mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Switched inverted rotation transform
This commit is contained in:
parent
c6d674af8d
commit
f1ea070256
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue