Rotation3d
Spatial rotation with unit length up to Double rounding. Factories validate and normalize input. Uses right-handed active rotations of column vectors; a * b applies b first.
Functions
Link copied to clipboard
Smallest spatial angle in 0, PI, independent of the quaternion's sign.
Link copied to clipboard
Conjugation preserves the existing unit-length error; no additional normalization is needed.
Link copied to clipboard
Interpolate along the shortest arc; finite amounts outside 0..1 extrapolate if the scaled angle is finite. Zero/one preserve the exact endpoint representation. Huge angles lose trigonometric argument precision. At PI the shortest arc is ambiguous; near PI small changes can switch the selected direction.
Link copied to clipboard
Composition applying other first, then this rotation.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard