set method

Vector2C set(
  1. num x,
  2. num y
)

Implementation

Vector2C set(num x, num y) {
  this.x = x.toDouble();
  this.y = y.toDouble();
  return this;
}