set method

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

Sets the given values to this 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;
}