which axis you want to flip,which axis you should multiply the value “-1”,keep other axis unchange,if you make all axis multiply the value"-1",the operation means that the coordinates is rotated,you can identify these phenomena in photoshop with your pencil,it’s just mathematical fundation.