Quaternion constructor

Quaternion([
  1. num x = 0.0,
  2. num y = 0.0,
  3. num z = 0.0,
  4. num w = 1.0,
])

Implementation

Quaternion([num x = 0.0, num y = 0.0, num z = 0.0, num w = 1.0])
    : _x = x,
      _y = y,
      _z = z,
      _w = w;