mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-12 04:34:25 +02:00
Fix of the new version of hull2d_path
This commit is contained in:
@@ -81,7 +81,7 @@ function _backtracking(i,points,h,t,m,all) =
|
|||||||
|
|
||||||
// clockwise check (2d)
|
// clockwise check (2d)
|
||||||
function _is_cw(a,b,c,all) =
|
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);
|
cross(a-c,b-c)<-EPSILON*norm(a-c)*norm(b-c);
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user