I would like to get the position of each edge of a sprite when he has been rotated.
I have no idea how to do it, I made a image to explain it.
I would like to get the X and Y position of each Red circles please thanks you .
Sprite sprite = new Sprite(texture);
sprite.setRotation(-20);