Skip to content

quatConjugate

quatConjugate(q): Quat

Defined in: src/modules/math/quat.ts:30

The conjugate (w, -x, -y, -z) — the inverse rotation for a unit quaternion, and the cheapest way to undo one. A non-unit q would need a true q⁻¹ = conjugate(q) / |q|², so normalise first; composing unit quaternions with quatMul keeps them unit, so the usual path never needs to.

Quat

Quat