Quaternion
by Xibalba Studios
View and activate on the Corona Store
Quaternions are extremely useful for 3D rotations, avoiding some problems that occur with other representations, such as Gimbal lock with Euler angles or matrices, and other instabilities using the Rodrigues formula.
This module implements all of the common operations.