-
-
Notifications
You must be signed in to change notification settings - Fork 61
Horizontal and vertical flip #262
Copy link
Copy link
Open
Labels
Area: GraphicsIssues related to graphics/rendering.Issues related to graphics/rendering.Type: Feature RequestImprovements that could be made to the code/documentation.Improvements that could be made to the code/documentation.
Metadata
Metadata
Assignees
Labels
Area: GraphicsIssues related to graphics/rendering.Issues related to graphics/rendering.Type: Feature RequestImprovements that could be made to the code/documentation.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: