mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-01 23:50:24 +02:00
arc bugfix
This commit is contained in:
@@ -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
|
// Specify endpoints exactly; skip those endpoints when producing arc points
|
||||||
arcpts = [ if (wedge) cp,
|
arcpts = [ if (wedge) cp,
|
||||||
points[0],
|
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]
|
points[1]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user