rotateTo(vec, center, offsetAngle = 0.0) {
    // Problem if this is first position
    this.x += 0.001;
    this.y -= 0.001;
    let a = Vector2.subtract(this, center);
    let b = Vector2.subtract(vec, center);
    let angle = Vector2.angle(b, a);
    this.rotateAround(angle + offsetAngle, center);
    return this;
  }
Rotate a vector around a given center to the same angle as another vector (so that the two vectors and the center are in a line, with both vectors on one side of the center), keeps the distance from this vector to the center.

@param {Vector2} vec The vector to rotate this vector to.
@param {Vector2} center The rotational center.
@param {Number} [offsetAngle=0.0] An additional amount of radians to rotate the vector.
@returns {Vector2} Returns itself.