-
Notifications
You must be signed in to change notification settings - Fork 14
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 typesafe 3D directions and rotations #177
Comments
* ✨ Add 3d spacetime types * ✨ Add missing projection and raising * 🔥 Remove directions for now Filed #177 for those
Is there anything left to be done with that? |
We currently only have 3D linear types, none for directions/rotations. We actually had a discussion about that while ago, and the tricky thing is that the same kind of binary representation we use for the Direction2 type likely won't work here, since 3D orientation is a lot more complex. Quaternions may be the way to go instead, but I'm not sure how that would end up in the end. Ideally we'd like Direction3 (an absolute direction) and Rotation3 (a relative rotation around some axis, can be more than 360 degrees as well), as well as Rotation3Velocity and Rotation3Acceleration types that hide whatever complex implementation details we choose inside and have all the same easy to use operators as the 2D types. If that's something you want to try and tackle, please be our guest! But it's definitely on the trickier side. |
No description provided.
The text was updated successfully, but these errors were encountered: