For external usage, type with Quaternion, e.g. const zeroRotation: Quaternion = Quaternion.Zero(). For mutable typing, use Quaternion.Mutable, e.g. const identityQuaternion: Quaternion.Mutable = Quaternion.Identity().
Quaternion
const zeroRotation: Quaternion = Quaternion.Zero()
Quaternion.Mutable
const identityQuaternion: Quaternion.Mutable = Quaternion.Identity()
For external usage, type with
Quaternion
, e.g.const zeroRotation: Quaternion = Quaternion.Zero()
. For mutable typing, useQuaternion.Mutable
, e.g.const identityQuaternion: Quaternion.Mutable = Quaternion.Identity()
.