Fix typo introduced in previous refactoring.

This commit is contained in:
Jürg Lehni 2011-06-06 17:18:22 +01:00
parent d5e7ca9f5e
commit 928b7df01e

View file

@ -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