So I was looking at the sf::Sprite documentation, and I noticed SetCenter is supposed to take two coordinates, Vector2 (T X, T Y).
But I noticed in the game I'm working on, I used:
Sprite.SetCenter(Sprite.GetSize() / 2.f)
Which is one argument. So why is this working properly? If SetCenter() only receives one argument does it just use that argument for both x and y?
Probably not a very important question but I am curious