Closed MaximeBouton closed 6 years ago
The package can work with the new version of Vec.jl using StaticArrays. Changes were mostly replacing abs or abs2 by norm or normsquared.
abs
abs2
norm
normsquared
I think I spotted one bug on the minkowski sum function in utils/minkowski.jl l145:
utils/minkowski.jl
seg = get_edge(poly.pts, i)
instead of
seg = get_edge(poly.pts, i, npts)
which prevent from accessing undefined reference in the poly.npts.
In the future, the ConvexPolygon type should probably be immutable.
Coverage remained the same at 29.297% when pulling 4ca6369ed95c1c5f0e7ed23c921a95bd1e1f0eb8 on vec_compat into 74050e9ae44bda72a485c2573ac4f0df2bc3e767 on master.
The package can work with the new version of Vec.jl using StaticArrays. Changes were mostly replacing
abs
orabs2
bynorm
ornormsquared
.I think I spotted one bug on the minkowski sum function in
utils/minkowski.jl
l145:instead of
which prevent from accessing undefined reference in the poly.npts.
In the future, the ConvexPolygon type should probably be immutable.