Hii,
short question regarding the implementation of a quaternion class.
I was wondering if quaternions are used for anything other than rotations within the graphics programming context? If this is not the case then one could take several shortcuts implementing specific functions (inverse; to matrix conversion etc.) and boost performance. So, when implementing such a class would you strive for a general purpose class or for one that deals solely with unit quaternions making shortcuts possible?
Looking forward to some feedback since I can't decide which route to go down.
Thanks in advance.