set method

Quaternion set(
  1. double x,
  2. double y,
  3. double z,
  4. double w,
)

Set the value of the quaternion.

Implementation

Quaternion set(double x, double y, double z, double w){
  this.x = x;
  this.y = y;
  this.z = z;
  this.w = w;
  return this;
}