Quaternions
Composition, inverse, normalization, relative orientation, axis-angle conversion, SLERP, and vector rotation.
Rotation mathematics · C ABI · Explicit conventions
This library keeps quaternion, Euler-angle, direction-cosine-matrix, and vector transformations in one small C boundary. The goal is not merely to produce numbers, but to make ordering, handedness, rotation direction, normalization, and singularities reviewable.
Composition, inverse, normalization, relative orientation, axis-angle conversion, SLERP, and vector rotation.
Checked conversions, orthonormality checks, supported rotation orders, and explicit singularity behavior.
Dot, cross, normalization, magnitudes, angle wrapping, and unit conversion used by downstream numerical systems.