-
Notifications
You must be signed in to change notification settings - Fork 123
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
How to rotate rectangles? #241
Comments
You can use Personally I'd use |
Thank you very much! |
So GPU_Rotate works, but is there any way to control the speed of the rotation? |
If you want to rotate over time to sort of "spin", you'd just have to rotate using higher values to rotate "faster". This also depends on how quickly you're calling the function. |
OK so I've been trying to use rotation for some time now and i can't really get it to work that well. Could you please send some example code? Thank you very much in advanced |
I am new to sdl_gpu and I know I can draw rectangles using GPU_RectangleFilled2
How would I go about rotating this? Thank you in advanced
The text was updated successfully, but these errors were encountered: