mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Clean up code a bit.
This commit is contained in:
parent
e2b06b8e54
commit
6b4917f4a8
1 changed files with 2 additions and 1 deletions
|
@ -69,11 +69,12 @@ var PathItem = Item.extend(/** @lends PathItem# */{
|
|||
curves2 = path.getCurves(),
|
||||
matrix1 = this._matrix.orNullIfIdentity(),
|
||||
matrix2 = path._matrix.orNullIfIdentity(),
|
||||
length1 = curves1.length,
|
||||
length2 = curves2.length,
|
||||
values2 = [];
|
||||
for (var i = 0; i < length2; i++)
|
||||
values2[i] = curves2[i].getValues(matrix2);
|
||||
for (var i = 0, l = curves1.length; i < l; i++) {
|
||||
for (var i = 0; i < length1; i++) {
|
||||
var curve1 = curves1[i],
|
||||
values1 = curve1.getValues(matrix1);
|
||||
for (var j = 0; j < length2; j++)
|
||||
|
|
Loading…
Reference in a new issue