mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-30 00:09:37 +00:00
bug fix
This commit is contained in:
parent
a6eeb5025c
commit
7580b85877
1 changed files with 0 additions and 1 deletions
|
@ -1696,7 +1696,6 @@ function _is_cw2(a,b,c,eps=EPSILON) = cross(a-c,b-c)<eps*norm(a-c)*norm(b-c);
|
|||
|
||||
// For algorithm see 2.07 here: http://www.faqs.org/faqs/graphics/algorithms-faq/
|
||||
function is_polygon_clockwise(poly) =
|
||||
let(
|
||||
assert(is_path(poly,dim=2), "Input should be a 2d path")
|
||||
let(
|
||||
minx = min(poly*[1,0]),
|
||||
|
|
Loading…
Reference in a new issue