code: public AABBd correctBounds() {
          double tmp;
          if (this.minX > this.maxX) {
              tmp = this.minX;
              this.minX = this.maxX;
              this.maxX = tmp;
          }
          if (this.minY > this.maxY) {
              tmp = this.minY;
              this.minY = this.maxY;
              this.maxY = tmp;
          }
          if (this.minZ > this.maxZ) {
              tmp = this.minZ;
              this.minZ = this.maxZ;
              this.maxZ = tmp;
          }
          return this;
      }
docs: Ensure that the minimum coordinates are strictly less than or equal to the maximum coordinates by swapping
  them if necessary.
  
  @return this