* Note: angle-axis can be stored as 3 elements by multiplying the unit rotation axis by the rotation angle, forming the logarithm of the quaternion, at the cost of additional calculations.
Performance comparison of rotation chaining operations
Method
# multiplies
# add/subtracts
total operations
Rotation matrices
27
18
45
Quaternions
16
12
28
Performance comparison of vector rotating operations
This barnstar is awarded to everyone who - whatever their opinion - contributed to the discussion about Wikipedia and SOPA. Thank you for being a part of the discussion. Presented by the Wikimedia Foundation.