MutableQuaternion: {
    w: number;
    x: number;
    y: number;
    z: number;
}

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().

Type declaration

  • w: number
  • x: number
  • y: number
  • z: number