set method

Vector3D set(
  1. num x,
  2. num y,
  3. num z
)

Implementation

Vector3D set(num x, num y, num z) {
  this.x = x.toDouble();
  this.y = y.toDouble();
  this.z = z.toDouble();
  return this;
}