zmath.quaternion

A Quaternion it's used to store a space orientation / rotation, and makes easy to interpolate rotations, at same time that avoid grimbal locks that have using Euler angles

Members

Aliases

Qua_d
alias Qua_d = Quaternion!double
Undocumented in source.
Qua_f
alias Qua_f = Quaternion!float
Undocumented in source.
Qua_r
alias Qua_r = Quaternion!real
Undocumented in source.

Structs

Quaternion
struct Quaternion(T = floatt)

Quaternion over a FloatPoint type,

Templates

isQuaternion
template isQuaternion(T)

Say if a thing it's a Quaternion

Meta