Skip to content

quatForward

quatForward(q): Vec3

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

The direction the local -Z axis points after applying q — “forward” in a right-handed coordinate system. In a left-handed system where +Z is forward (e.g. Unity), mirror the handedness rather than negating the result.

Quat

Vec3