Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

Commit

Permalink
Fix to transform multiplier if translation is left out
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Dec 17, 2010
1 parent ffb9aed commit 6c7875f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/ART.js
Expand Up @@ -125,6 +125,8 @@ ART.Transform = new Class({
yx = xx.yx; yy = xx.yy; ty = xx.ty;
xy = xx.xy; tx = xx.tx; xx = xx.xx;
}
if (!tx) tx = 0;
if (!ty) ty = 0;
return this.transformTo(
m.xx * xx + m.xy * yx,
m.yx * xx + m.yy * yx,
Expand Down

0 comments on commit 6c7875f

Please sign in to comment.