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

fix: mitigate floating point issues #21

Merged
merged 5 commits into from
Dec 20, 2023
Merged

fix: mitigate floating point issues #21

merged 5 commits into from
Dec 20, 2023

Conversation

ndavd
Copy link
Owner

@ndavd ndavd commented Dec 17, 2023

#10

@ndavd ndavd changed the title fix: floating point issues fix: mitigate floating point issues Dec 20, 2023
@ndavd
Copy link
Owner Author

ndavd commented Dec 20, 2023

After applying a correction to the cube's positions after every full rotation noticed that if more than 1 rotation happens on the same dimension we get a jump.. Perhaps the issue is deeper

src/main.rs Outdated Show resolved Hide resolved
@ndavd ndavd self-assigned this Dec 20, 2023
@ndavd ndavd marked this pull request as ready for review December 20, 2023 17:25
feat: add more vec operations

chore: remove ncube correction as it won't work on complex rotations

closes #10
@ndavd ndavd merged commit b442e0a into main Dec 20, 2023
2 checks passed
@ndavd ndavd deleted the fix/floating-point branch December 20, 2023 17:31
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.

2 participants