mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-04-20 06:02:05 +02:00
fix error vector
This commit is contained in:
parent
b79131f9bc
commit
d4a865080c
@ -15,7 +15,7 @@ function shape_pie(radius, angle) =
|
||||
let(
|
||||
a_step = 360 / __frags(radius),
|
||||
leng = radius * cos(a_step / 2),
|
||||
angles = is_num(angle) ? [0:angle] : angle,
|
||||
angles = is_num(angle) ? [0, angle] : angle,
|
||||
m = floor(angles[0] / a_step) + 1,
|
||||
n = floor(angles[1] / a_step),
|
||||
edge_r_begin = leng / cos((m - 0.5) * a_step - angles[0]),
|
||||
|
Loading…
x
Reference in New Issue
Block a user