It looks like you should read more about C++, because accessing the X and Y components is really straightforward.sf::Vector2f vector;
float x = vector.x;
float y = vector.y;
It looks like you should read more about C++, because accessing the X and Y components is really straightforward.sf::Vector2f vector;
float x = vector.x;
float y = vector.y;
Thanks. I understand the concepts but the info on http://www.sfml-dev.org/documentation/2.0/classsf_1_1Vector2.php is just confusing for me.