Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ich1994

Pages: [1]
1
Feature requests / Re: sf::View.get/setCoordinates()
« on: August 14, 2012, 06:12:27 pm »
And why not:
sf::Vector2f Coord = myView.getCenter() - myView.getSize() / 2.f;
?

Because i am new to SFML :D

2
Feature requests / sf::View.get/setCoordinates()
« on: August 14, 2012, 03:21:54 am »
I would like to have the above mentioned methods.

It does not look good if i have to write something like this:
sf::Vector2i Coord=sf::Vector2i(myView.getCenter().x-myView.getSize().x/2,myView.getCenter().y-myView.getSize().y/2);
everytime i need to set or get the Top-Left Coordinates

Pages: [1]