FS#88 - Replace Set/GetCenter with Set/GetOrigin in sf::Drawable
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1121 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
5461ddcb52
commit
42c5800d4c
20 changed files with 177 additions and 177 deletions
|
@ -81,7 +81,7 @@ INT WINAPI WinMain(HINSTANCE Instance, HINSTANCE, LPSTR, INT)
|
|||
return EXIT_FAILURE;
|
||||
sf::Sprite Sprite1(Image1);
|
||||
sf::Sprite Sprite2(Image2);
|
||||
Sprite1.SetCenter(Sprite1.GetSize() / 2.f);
|
||||
Sprite1.SetOrigin(Sprite1.GetSize() / 2.f);
|
||||
|
||||
// Create a clock for measuring elapsed time
|
||||
sf::Clock Clock;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue