round method

  1. @override
Vector4 round()
override

Implementation

@override
Vector4 round() {
  x = (x).roundToDouble();
  y = (y).roundToDouble();
  z = (z).roundToDouble();
  w = (w).roundToDouble();

  return this;
}