mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Fix typo introduced in previous refactoring.
This commit is contained in:
parent
d5e7ca9f5e
commit
928b7df01e
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ var PathFitter = Base.extend({
|
||||||
if (Math.abs(df) < Numerical.TOLERANCE)
|
if (Math.abs(df) < Numerical.TOLERANCE)
|
||||||
return u;
|
return u;
|
||||||
// u = u - f(u) / f'(u)
|
// u = u - f(u) / f'(u)
|
||||||
return u - pt.dot(pt1) / df;
|
return u - diff.dot(pt1) / df;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Evaluate a Bezier curve at a particular parameter value
|
// Evaluate a Bezier curve at a particular parameter value
|
||||||
|
|
Loading…
Reference in a new issue