pub type Vector3<T> = [T; 3];
Expand description
Three dimensional vector (Pure Quaternion)
The type [q1, q2, q3]
is equivalent to the expression q1i + q2j + q3k
,
where i
, j
, k
are basis of quaternions and satisfy the following equality:
i^2 = j^2 = k^2 = ijk = -1