mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Clean up code.
This commit is contained in:
parent
bd62b4b819
commit
d793d8a43d
1 changed files with 2 additions and 2 deletions
|
@ -393,8 +393,8 @@ var Matrix = this.Matrix = Base.extend(/** @lends Matrix# */{
|
|||
var i = srcOff, j = dstOff,
|
||||
srcEnd = srcOff + 2 * numPts;
|
||||
while (i < srcEnd) {
|
||||
var x = src[i++];
|
||||
var y = src[i++];
|
||||
var x = src[i++],
|
||||
y = src[i++];
|
||||
dst[j++] = x * this._a + y * this._b + this._tx;
|
||||
dst[j++] = x * this._c + y * this._d + this._ty;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue