round method

Vector4 round()

Implementation

Vector4 round() {
  x = Math.round(x);
  y = Math.round(y);
  z = Math.round(z);
  w = Math.round(w);

  return this;
}