vleue / polyanya

Pathfinding using Polyanya
Apache License 2.0
234 stars 15 forks source link

Add serde behind a feature #31

Closed 66OJ66 closed 1 year ago

66OJ66 commented 1 year ago

Hi,

Whilst https://github.com/vleue/polyanya/issues/24 is open, it would be useful if polyanya's meshes could be serialised/deserialised because:

This PR just adds serde derives behind a feature gate accordingly.

I've raised another PR here for adding the same to the bvh2d crate.