mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-21 20:21:34 +02:00
bug fix
This commit is contained in:
@@ -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/
|
// For algorithm see 2.07 here: http://www.faqs.org/faqs/graphics/algorithms-faq/
|
||||||
function is_polygon_clockwise(poly) =
|
function is_polygon_clockwise(poly) =
|
||||||
let(
|
|
||||||
assert(is_path(poly,dim=2), "Input should be a 2d path")
|
assert(is_path(poly,dim=2), "Input should be a 2d path")
|
||||||
let(
|
let(
|
||||||
minx = min(poly*[1,0]),
|
minx = min(poly*[1,0]),
|
||||||
|
Reference in New Issue
Block a user