round method

Vector3 round()

Implementation

Vector3 round() {
  x = Math.round(x).toDouble();
  y = Math.round(y).toDouble();
  z = Math.round(z).toDouble();

  return this;
}