Open kvark opened 6 years ago
r? @nical @Ralith
does it make sense to have Bivector3 instead of Bivector here, and similarly for Rotor?
There's definitely a case for a Rotor2
: 2D rotations that have singular representations and well-defined precision are nice. nalgebra already has the very similar UnitComplex
type for this exact reason.
I'm less sure of the usefulness of a Bivector2
. If mint might ever support dimensionalities > 3, consistency wouldn't hurt.
consistency with quaternions
I'm not sure what "much closer to" means. It does seem like it might have been best to define quaternions with s/i/j/k members. Not sure that's worth breaking compatibility.
Can we put the scalar at the end of Rotor
to match the updated Quaternion
Fixes #32
There is a few issues I'd like us to resolve before we settle on something:
Vector3
? It isn't really a vector, much closer to bi-vector, in which case people just need to useRotor
anyway. Perhaps, theQuaternion
type shouldn't be written in the vector form at all to avoid confusion.