Closed pallosp closed 8 years ago
Funny enough, but this bug doesn’t have any impact on the behavior of the curve. As a result of passing the wrong argument, this._l23_a is NaN instead of 0 for the last point on the curve. However, this value is only used in the comparison if (that._l23_a > epsilon)
, and so the behavior is the same.
Of course I will fix this bug. 👍
CatmullRom.lineEnd calls CatmullRom.point with 3 arguments while it requires 2.
https://github.com/d3/d3-shape/blob/master/src/curve/catmullRom.js