Closed 66-m closed 3 months ago
The problem is that it's not clear what a horizontal flip is. Does the x-axis remain in place or the y-axis? Both could reasonably be described as a horizontal flip. We need more precise language here.
Relevant context: https://github.com/ddnet/ddnet/pull/6132
The interpretation for the horizontal and vertical flips from the bitflag is the other way around.
The codebase had a different interpretation than the editor. I made the change to X/Y, which sadly didn't get any discussion, but should hopefully be more intuitive. x-flip switches left <-> right, y-flip up <-> down
This should ofc be updated in the map docs :+1:
Thanks for your pull request! I somehow forgot about it…
The interpretation for the horizontal and vertical flips from the bitflag is the other way around.
The order of flips doesn't matter since it gives the same result, but to avoid confusion i swapped it too