cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
SFML sprite rotation
Page 2
SFML sprite rotation
Pages:
1
2
Aug 29, 2011 at 3:00am UTC
Disch
(13742)
Does sfml have a sprite.getSize() maybe?
It does.
It's all in the docs. For simple things like this, you should really check the docs page first, as it should be very easy to spot your answer (that way you don't have to wait for someone to respond to the forum post).
Specifically, since you have an sf::Sprite, check the sf::Sprite page:
http://sfml-dev.org/documentation/1.6/classsf_1_1Sprite.php
You'll notice that it does in fact have a GetSize function:
http://sfml-dev.org/documentation/1.6/classsf_1_1Sprite.php#a386e09c5f321a69707393851ae026f7e
Topic archived. No new replies allowed.
Pages:
1
2