set method
Sets all components at once.
Values are converted using num.toDouble.
Implementation
QuaternionD set(num x, num y, num z, num w) {
this.x = x.toDouble();
this.y = y.toDouble();
this.z = z.toDouble();
this.w = w.toDouble();
return this;
}