public AABB merge(AABB other){
  minX=Math.min(minX,other.minX);
  maxX=Math.max(maxX,other.maxX);
  minY=Math.min(minY,other.minY);
  maxY=Math.max(maxY,other.maxY);
  minZ=Math.min(minZ,other.minZ);
  maxZ=Math.max(maxZ,other.maxZ);
  return this;
}

public AABB merge ( AABB other ) { minX = Math . min ( minX , other . minX ) ; maxX = Math . max ( maxX , other . maxX ) ; minY = Math . min ( minY , other . minY ) ; maxY = Math . max ( maxY , other . maxY ) ; minZ = Math . min ( minZ , other . minZ ) ; maxZ = Math . max ( maxZ , other . maxZ ) ; return this ; }
computes an aabb that contains both this and other and stores it in this .
