Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add serde behind a feature #31

Merged
merged 2 commits into from
Jun 19, 2023
Merged

Add serde behind a feature #31

merged 2 commits into from
Jun 19, 2023

Conversation

66OJ66
Copy link
Contributor

@66OJ66 66OJ66 commented Jun 16, 2023

Hi,

Whilst #24 is open, it would be useful if polyanya's meshes could be serialised/deserialised because:

  • If using postcard (/other binary formats), it should be quicker to deserialize meshes from disk than generating and baking them at runtime
  • This would allow meshes to be preprocessed for use in bevy_pathmesh once Bevy's asset system v2 is merged

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.

@mockersf mockersf merged commit 37e0b9a into vleue:main Jun 19, 2023
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants