mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-20 08:32:01 +02:00
syntax error fix
This commit is contained in:
@@ -1029,7 +1029,7 @@ function offset(
|
|||||||
degenerate = (len(goodsegs)-(!closed && select(good,-1)?1:0) <= 0)
|
degenerate = (len(goodsegs)-(!closed && select(good,-1)?1:0) <= 0)
|
||||||
)
|
)
|
||||||
assert(!(degenerate && error), "\nOffset of path is degenerate.")
|
assert(!(degenerate && error), "\nOffset of path is degenerate.")
|
||||||
: degenerate ? [] // return empty path
|
degenerate ? [] // return empty path
|
||||||
: let(
|
: let(
|
||||||
// Extend the shifted segments to their intersection points. For open curves the endpoints
|
// Extend the shifted segments to their intersection points. For open curves the endpoints
|
||||||
// are simply the endpoints of the shifted segments. If segments are parallel then the intersection
|
// are simply the endpoints of the shifted segments. If segments are parallel then the intersection
|
||||||
|
Reference in New Issue
Block a user