BoxSizer to Sizer
This commit is contained in:
@@ -74,7 +74,7 @@ iVector2& iVector2::operator += ( const SDL_Rect& other )
|
||||
return *this;
|
||||
}
|
||||
|
||||
iVector2& iVector2::operator -= (const iVector2& other)
|
||||
iVector2& iVector2::operator -= ( const iVector2& other )
|
||||
{
|
||||
x -= int(other.x);
|
||||
y -= int(other.y);
|
||||
@@ -82,7 +82,7 @@ iVector2& iVector2::operator -= (const iVector2& other)
|
||||
return *this;
|
||||
}
|
||||
|
||||
iVector2& iVector2::operator -= (const SDL_Rect& other)
|
||||
iVector2& iVector2::operator -= ( const SDL_Rect& other )
|
||||
{
|
||||
x -= int(other.x);
|
||||
y -= int(other.y);
|
||||
@@ -90,7 +90,7 @@ iVector2& iVector2::operator -= (const SDL_Rect& other)
|
||||
return *this;
|
||||
}
|
||||
|
||||
iVector2 operator + (const iVector2& lhs, const iVector2& rhs)
|
||||
iVector2 operator + ( const iVector2& lhs, const iVector2& rhs )
|
||||
{
|
||||
iVector2 rs = lhs;
|
||||
rs += rhs;
|
||||
|
||||
Reference in New Issue
Block a user