divideScalar(s) {
    if (s !== 0) {
      this.x /= s;
      this.y /= s;
    } else {
      this.set(0, 0);
    }

    return this;
  }
Divides this vector by a scalar.
@param {number} s - The scalar to divide by.
@returns {Vector2D} This vector.