set method

Vector3 set(
  1. double _x,
  2. double _y,
  3. double _z
)

Sets the x, y and z components of this vector.

Implementation

Vector3 set(double _x, double _y, double _z) {
  x = _x;
  y = _y;
  z = _z;
  return this;
}