SFML community forums

General => General discussions => Topic started by: Mr. X on January 03, 2009, 11:49:40 am

Title: Why doesn't SFML use sf::vector in the Input class?
Post by: Mr. X on January 03, 2009, 11:49:40 am
Hello,
I'm just wondering about the Input class.
Why doesn't SFML use sf::vector2i instead of two int?

Because it is easier to use for my Project, I tried to change it, and it works.
Title: Why doesn't SFML use sf::vector in the Input class?
Post by: Laurent on January 03, 2009, 02:17:44 pm
Vectors have been added after the sf::Input class was created, and I never changed it.
Title: Why doesn't SFML use sf::vector in the Input class?
Post by: Mr. X on January 03, 2009, 02:40:53 pm
Would be great if you could change that...
Title: Why doesn't SFML use sf::vector in the Input class?
Post by: Mr. X on January 03, 2009, 06:59:47 pm
I found another class which isn't changed to vectors:
sf::Image