It would be nice to have an euler rotation interface for everything that rotates.
In order to deal with gimbal lock, the euler rotations should be relative, and specific to one component (rotate_euler_x() would rotate by x relative to current rotation). These rotations would be applied one at a time to the stored quaternion.
It would be nice to have an euler rotation interface for everything that rotates.
In order to deal with gimbal lock, the euler rotations should be relative, and specific to one component (rotate_euler_x() would rotate by x relative to current rotation). These rotations would be applied one at a time to the stored quaternion.
The quaternion interface of course, would stay.