mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +01:00
arc bugfix
This commit is contained in:
parent
bf9c1da410
commit
f3b35eab0a
@ -854,7 +854,7 @@ function arc(n, r, angle, d, cp, points, corner, width, thickness, start, wedge=
|
||||
// Specify endpoints exactly; skip those endpoints when producing arc points
|
||||
arcpts = [ if (wedge) cp,
|
||||
points[0],
|
||||
each arc(n,cp=cp,r=r,start=theta_start+angle/(n+1),angle=angle-2*angle/(n+1)),
|
||||
each arc(n-2,cp=cp,r=r,start=theta_start+angle/(n-1),angle=angle-2*angle/(n-1)),
|
||||
points[1]
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user