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 optional serde support to math-related structs #76

Merged
merged 1 commit into from
Apr 12, 2021

Conversation

ewpratten
Copy link
Contributor

I have been in need of a way to use some structs like Vector3 and Quaternion with serde. I figured I'd give a shot at turning this into a PR.

This change adds a new feature called with_serde that will turn every struct in raylib::core::math into something serde can understand.

I am quite new to rust, so I don't expect my implementation is perfect. Please give me feedback on my work.

@Dacode45 Dacode45 merged commit 4355ec2 into deltaphc:master Apr 12, 2021
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