Quaternion constructor

const Quaternion(
  1. num x,
  2. num y,
  3. num z,
  4. num w,
)

Constructor of the quaternion class.

Implementation

const Quaternion(this.x, this.y, this.z, this.w);