cf_quat_inverse¶
Category: math
GitHub: cute_math3d.h
Returns the inverse rotation.
Remarks¶
Works for non-unit quaternions by dividing the conjugate by the squared length. A unit quaternion's inverse IS its conjugate -- prefer cf_quat_conjugate when you know the quaternion is normalized.