91
Graphics / [SFML2.0] sf::Shape vs. sf::Sprite
« on: January 04, 2012, 04:38:49 pm »
I was just looking at the SFML 2.0 API with the merged drawables and noticed that sf::Shape and sf::Sprite kinda do the same thing.
Sure Sprites can't have an outer color but the rest seems equally on the top.
Now I was wondering what's diffrent at the bottom and which would perform better (theoreticly). I could figure it out and test it myself but ... I'm too lazy. :lol:
Is it now just a question of desgin and/or taste or are there some real advantages?
Sure Sprites can't have an outer color but the rest seems equally on the top.
Now I was wondering what's diffrent at the bottom and which would perform better (theoreticly). I could figure it out and test it myself but ... I'm too lazy. :lol:
Is it now just a question of desgin and/or taste or are there some real advantages?