You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this can be replaced by a simple one liner : return _almostEqual( _distance(A,p) + _distance(B,p) , _distance(A, B));
with _distance(A,B) being a function that returns the distance between two points A,B.
I've tested it and it's working fine.
The text was updated successfully, but these errors were encountered:
SVGnest/util/geometryutil.js
Lines 53 to 109 in 1248dc2
I think this can be replaced by a simple one liner :
return _almostEqual( _distance(A,p) + _distance(B,p) , _distance(A, B));
with
_distance(A,B)
being a function that returns the distance between two points A,B.I've tested it and it's working fine.
The text was updated successfully, but these errors were encountered: