mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -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)
|
||||
return 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
|
||||
|
|
Loading…
Reference in a new issue