round method

  1. @override
Vector3 round()
override

Implementation

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

  return this;
}