Original Post
I have a 2D array, and I'd like to bring the corners to the center and the center to the corners (so it's like translating it). Is there an efficient way to do this, without using an extra buffer? I already tried things similar to the xor swapping algorithm with it but it doesn't work...