Quaternion constructor

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

Implementation

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