Fix matrix transform bug in Rectangle

This commit is contained in:
Kane Wallmann
2015-05-21 22:06:13 +10:00
parent 2be46664f0
commit 4e43638868

View File

@@ -189,7 +189,7 @@ class Rectangle {
var tx0 = m.a * x + m.c * y;
var tx1 = tx0;
var ty0 = m.b * x + m.d * y;
var ty1 = tx0;
var ty1 = ty0;
var tx = m.a * (x + width) + m.c * y;
var ty = m.b * (x + width) + m.d * y;