diff --git a/src/basic/Line.js b/src/basic/Line.js index 91843875..0962669e 100644 --- a/src/basic/Line.js +++ b/src/basic/Line.js @@ -166,7 +166,7 @@ var Line = Base.extend(/** @lends Line# */{ vy -= py; } return Numerical.isZero(vx) - ? vy >= 0 ? py - x : x - px + ? vy >= 0 ? px - x : x - px : Numerical.isZero(vy) ? vx >= 0 ? y - py : py - y : -(vy * x - vx * y - px * (py + vy) + py * (px + vx)) /