mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-23 12:18:45 -04: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…
Add table
Add a link
Reference in a new issue