Fix of the new version of hull2d_path

This commit is contained in:
RonaldoCMP 2021-05-06 00:33:39 +01:00
parent 8a2651cf3f
commit 7822a2b2a3

View file

@ -81,7 +81,7 @@ function _backtracking(i,points,h,t,m,all) =
// clockwise check (2d)
function _is_cw(a,b,c,all) =
all ? cross(a-c,b-c)<=0 :
all ? cross(a-c,b-c)<=EPSILON*norm(a-c)*norm(b-c) :
cross(a-c,b-c)<-EPSILON*norm(a-c)*norm(b-c);