Hi, I have RectangleShape, how to get the global coordinates of all vertices(top-left,top-right,bottom-left,bottom-right) after rotate?
For example
shape.setOrigin(size_a/2.f, size_b/2.f);
shape.setPosition(windowWidth / 2, windowHeight / 2);
shape.setSize({ size_a, size_b });
shape.setRotation(10);
How to get coordinates of the all vertices?
Thanks.