set method

Vec3 set(
  1. double x,
  2. double y,
  3. double z
)

Set the vectors' 3 elements

Implementation

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