How do you rotate an imagine around it's center point? #1749
-
I'm sorry if this is not the right place to ask but I don't know if another place. I would like to know how to rotate an image around it's center please. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Asking your question here is good since this is a signal indicating a lack of documentation :-) https://github.com/hajimehoshi/ebiten/blob/master/examples/rotate/main.go I think the rotate example explains what you want. |
Beta Was this translation helpful? Give feedback.
-
Thank you, it does! |
Beta Was this translation helpful? Give feedback.
-
Thank you! 😄 |
Beta Was this translation helpful? Give feedback.
Asking your question here is good since this is a signal indicating a lack of documentation :-)
https://github.com/hajimehoshi/ebiten/blob/master/examples/rotate/main.go
I think the rotate example explains what you want.