Merge 233f4d4465df821ce01559e2989d4d6b93a5030c into b1095e29bc161b4a5e9a38fb5c8a438f1c3c79e1

This commit is contained in:
Michael Krabbe Borregaard 2018-08-11 10:30:06 +00:00 committed by GitHub
commit 807f466797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ end
"create a shape by picking points around the unit circle. `n` is the number of point/sides, `offset` is the starting angle" "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) function makeshape(n; offset = -0.5, radius = 1.0)
z = offset * π z = offset * π
Shape(partialcircle(z, z + 2π, n+1, radius)) Shape(partialcircle(z, z + 2π, n+1., radius))
end end