This PR implements a decomposition of a quaternion into a swing and a twist.
I have realised that I don't actually need this functionality to do what I want, but since I have implemented it I thought I would submit a PR to see if there was interest in merging it. If there is, and people have valid use cases, I can finish off handling the degenerate case.
This PR implements a decomposition of a quaternion into a swing and a twist.
I have realised that I don't actually need this functionality to do what I want, but since I have implemented it I thought I would submit a PR to see if there was interest in merging it. If there is, and people have valid use cases, I can finish off handling the degenerate case.