// This tool macro horizontally mirrors the 
// selection about the point clicked on.

  macro "Mirror Selection Tool -C669-F702f" {
        if (selectionType<2 || selectionType>4)
            exit("Polygon selection required");
        getCursorLoc(x, y, z, flags);
        getSelectionCoordinates(sx, sy);
        for (i=0; i<sx.length; i++)
            sx[i] = x - (sx[i]-x);
       makeSelection(selectionType, sx, sy);
  }
