getLeftVector() {
    // Return the vector with the smaller x value (the left one)
    if (this.from.x < this.to.x) {
      return this.from;
    } else {
      return this.to;
    }
  }
Returns the left vector (the vector with the smaller x value).

@returns {Vector2} The left vector.