code: @Override
  	public void setFromCorners(double x1, double y1, double z1, double x2, double y2, double z2) {
  		if (x1<x2) {
  			this.minx = x1;
  			this.maxx = x2;
  		}
  		else {
  			this.minx = x2;
  			this.maxx = x1;
  		}
  		if (y1<y2) {
  			this.miny = y1;
  			this.maxy = y2;
  		}
  		else {
  			this.miny = y2;
  			this.maxy = y1;
  		}
  		if (z1<z2) {
  			this.minz = z1;
  			this.maxz = z2;
  		}
  		else {
  			this.minz = z2;
  			this.maxz = z1;
  		}
  	}
docs: Change the frame of the box.
  
  @param x1 is the coordinate of the first corner.
  @param y1 is the coordinate of the first corner.
  @param z1 is the coordinate of the first corner.
  @param x2 is the coordinate of the second corner.
  @param y2 is the coordinate of the second corner.
  @param z2 is the coordinate of the second corner.