make linspace arg a float
This commit is contained in:
parent
1e3783b4dc
commit
233f4d4465
@ -89,7 +89,7 @@ end
|
||||
"create a shape by picking points around the unit circle. `n` is the number of point/sides, `offset` is the starting angle"
|
||||
function makeshape(n; offset = -0.5, radius = 1.0)
|
||||
z = offset * π
|
||||
Shape(partialcircle(z, z + 2π, n+1, radius))
|
||||
Shape(partialcircle(z, z + 2π, n+1., radius))
|
||||
end
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user