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 Rotation::from_sin_cos constructor #130

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

RJ
Copy link
Sponsor Contributor

@RJ RJ commented Aug 21, 2023

Being able to construct Rotation from sin and cos allows for full-precision serialization and deserialization, without having to (eg) go via a single scalar radians value.

@Jondolf Jondolf added the C-Enhancement New feature or request label Aug 21, 2023
src/components/rotation.rs Outdated Show resolved Hide resolved
@RJ
Copy link
Sponsor Contributor Author

RJ commented Aug 21, 2023

committed your suggested change, then force pushed after squashing into one commit

@Jondolf Jondolf merged commit 884055a into Jondolf:main Aug 21, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants