function Quaternion(x, y, z, w) {
  /**
   * The X component.
   * @type {number}
   * @default 0.0
   */
  this.x = x ?? 0.0;

  /**
   * The Y component.
   * @type {number}
   * @default 0.0
   */
  this.y = y ?? 0.0;

  /**
   * The Z component.
   * @type {number}
   * @default 0.0
   */
  this.z = z ?? 0.0;

  /**
   * The W component.
   * @type {number}
   * @default 0.0
   */
  this.w = w ?? 0.0;
}
A set of 4-dimensional coordinates used to represent rotation in 3-dimensional space.
@alias Quaternion
@constructor

@param {number} [x=0.0] The X component.
@param {number} [y=0.0] The Y component.
@param {number} [z=0.0] The Z component.
@param {number} [w=0.0] The W component.

@see PackableForInterpolation