setX method

Vector2 setX(
  1. double x
)

Implementation

Vector2 setX(double x) {
  this.x = x;

  return this;
}