Horizontal and vertical flip #262
Labels
Area: Graphics
Issues related to graphics/rendering.
Type: Feature Request
Improvements that could be made to the code/documentation.
Summary:
Add booleans for horizontal and vertical flip to DrawParams, that does not offset the textures.
This would be nice because scaling in negative direction also offsets the texture in the negative direction.
As a workaround to avoid this, we need to add half texture size to position and to origin.
Steps to reproduce:
Texture now moved up and to the left.
Expected behavior:
Expected the texture to draw at some_position, just mirrored.
Additional info:
The text was updated successfully, but these errors were encountered: