-
-
Notifications
You must be signed in to change notification settings - Fork 18
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 cross-product and angle #57
Conversation
I used this in mutant-games, but didn't yet add tests. Feel free to push directly commits to the feature branch to do so. |
Avoids an issue where opposing vectors get an angle of 0 instead of 180.
PS: I added a test for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only thing I'm blocking on is the assert in non-test code.
All the rest of the comments can be turned into issues later.
@pathunstrom Thanks for the feedback, this should all be handled now. FYI, you can automatically squash my fixup commits with |
No description provided.