Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL Rotation #150

Open
pst-82 opened this issue Dec 28, 2024 · 2 comments
Open

SDL Rotation #150

pst-82 opened this issue Dec 28, 2024 · 2 comments

Comments

@pst-82
Copy link

pst-82 commented Dec 28, 2024

Hello s SDl there are functions sdl_flip_horizontal and vertical, it would be useful to have functions to rotate for example 90 degrees right and left.

@suve
Copy link
Collaborator

suve commented Dec 28, 2024

There are no such functions in the SDL2 API. You may be confusing those with SDL_FLIP_HORIZONTAL and SDL_FLIP_VERTICAL rendering flags.

@pst-82
Copy link
Author

pst-82 commented Dec 28, 2024

What I mean is whether it is possible to add rendering flags for 90-degree rotation left and right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants