* Vector2 now uses the new operator overloading

* sync: Rect changes to width/height style

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1515 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
trass3r 2010-04-20 20:50:15 +00:00
parent eada18b7e5
commit b4ff671e6e
4 changed files with 98 additions and 161 deletions

View file

@ -62,7 +62,7 @@ public:
*/
this(Vector2f center, Vector2f size)
{
super(sfView_CreateFromRect(FloatRect(center.x - size.x / 2, center.y - size.y / 2, center.x + size.x / 2, center.y + size.y / 2) ));
super(sfView_CreateFromRect(FloatRect(center.x - size.x / 2, center.y - size.y / 2, size.x, size.y) ));
}
/**