setValues method Null safety

void setValues(
  1. double x,
  2. double y,
  3. double z,
  4. double w
)

Set the quaternion to the raw values x, y, z, and w.

Implementation

void setValues(double x, double y, double z, double w) {
  _qStorage[0] = x;
  _qStorage[1] = y;
  _qStorage[2] = z;
  _qStorage[3] = w;
}