mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Use paper.js indentation standard.
This commit is contained in:
parent
87e6c0f2c3
commit
8b994ab640
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ var PathFitter = Base.extend({
|
||||||
}
|
}
|
||||||
// Fitting failed -- split at max error point and fit recursively
|
// Fitting failed -- split at max error point and fit recursively
|
||||||
var tanCenter = this.points[split - 1].subtract(this.points[split + 1])
|
var tanCenter = this.points[split - 1].subtract(this.points[split + 1])
|
||||||
.normalize();
|
.normalize();
|
||||||
this.fitCubic(first, split, tan1, tanCenter);
|
this.fitCubic(first, split, tan1, tanCenter);
|
||||||
this.fitCubic(split, last, tanCenter.negate(), tan2);
|
this.fitCubic(split, last, tanCenter.negate(), tan2);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue