set method

Vector4D set(
  1. num x,
  2. num y,
  3. num z,
  4. num w,
)

Implementation

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