BoxSizer to Sizer
This commit is contained in:
@@ -16,7 +16,7 @@ Vector2::Vector2( const SDL_Rect& copy )
|
||||
y = float(copy.y);
|
||||
}
|
||||
|
||||
Vector2& Vector2::operator=( const SDL_Rect& copy )
|
||||
Vector2& Vector2::operator = ( const SDL_Rect& copy )
|
||||
{
|
||||
x = float(copy.x);
|
||||
y = float(copy.y);
|
||||
@@ -30,7 +30,7 @@ Vector2::Vector2( const iVector2& copy )
|
||||
y = float(copy.y);
|
||||
}
|
||||
|
||||
Vector2& Vector2::operator=( const iVector2& copy )
|
||||
Vector2& Vector2::operator = ( const iVector2& copy )
|
||||
{
|
||||
x = float(copy.x);
|
||||
y = float(copy.y);
|
||||
|
||||
@@ -16,11 +16,11 @@ namespace MathEngine {
|
||||
|
||||
Vector2( const SDL_Rect& copy );
|
||||
|
||||
Vector2& operator=( const SDL_Rect& copy );
|
||||
Vector2& operator = ( const SDL_Rect& copy );
|
||||
|
||||
Vector2( const iVector2& copy );
|
||||
|
||||
Vector2& operator=( const iVector2& copy );
|
||||
Vector2& operator = ( const iVector2& copy );
|
||||
|
||||
float x;
|
||||
float y;
|
||||
|
||||
@@ -17,7 +17,7 @@ Vector3::Vector3( const SDL_Rect& copy )
|
||||
z = float(copy.w);
|
||||
}
|
||||
|
||||
Vector3& Vector3::operator=( const SDL_Rect& copy )
|
||||
Vector3& Vector3::operator = ( const SDL_Rect& copy )
|
||||
{
|
||||
x = float(copy.x);
|
||||
y = float(copy.y);
|
||||
@@ -33,7 +33,7 @@ Vector3::Vector3( const iVector3& copy )
|
||||
z = float(copy.z);
|
||||
}
|
||||
|
||||
Vector3& Vector3::operator=( const iVector3& copy )
|
||||
Vector3& Vector3::operator = ( const iVector3& copy )
|
||||
{
|
||||
x = float(copy.x);
|
||||
y = float(copy.y);
|
||||
|
||||
@@ -19,11 +19,11 @@ namespace MathEngine {
|
||||
|
||||
Vector3( const SDL_Rect& copy );
|
||||
|
||||
Vector3& operator=( const SDL_Rect& copy );
|
||||
Vector3& operator = ( const SDL_Rect& copy );
|
||||
|
||||
Vector3( const iVector3& copy );
|
||||
|
||||
Vector3& operator=( const iVector3& copy );
|
||||
Vector3& operator = ( const iVector3& copy );
|
||||
|
||||
float z;
|
||||
};/// END STRUCT DEFINITION Vector3
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
using MathEngine::Vector4;
|
||||
using MathEngine::iVector4;
|
||||
|
||||
Vector4::Vector4( const float X /*= 0.0f*/, const float Y /*= 0.0f*/, const float Z /*= 0.0f*/, const float W /*= 0.0f*/)
|
||||
Vector4::Vector4( const float X /*= 0.0f*/, const float Y /*= 0.0f*/, const float Z /*= 0.0f*/, const float W /*= 0.0f*/ )
|
||||
: Vector3( X, Y, Z ), w(W)
|
||||
{}
|
||||
|
||||
@@ -17,7 +17,7 @@ Vector4::Vector4( const SDL_Rect& copy )
|
||||
w = float(copy.h);
|
||||
}
|
||||
|
||||
Vector4& Vector4::operator=( const SDL_Rect& copy )
|
||||
Vector4& Vector4::operator = ( const SDL_Rect& copy )
|
||||
{
|
||||
x = float(copy.x);
|
||||
y = float(copy.y);
|
||||
@@ -35,7 +35,7 @@ Vector4::Vector4( const iVector4& copy )
|
||||
w = float(copy.w);
|
||||
}
|
||||
|
||||
Vector4& Vector4::operator=( const iVector4& copy )
|
||||
Vector4& Vector4::operator = ( const iVector4& copy )
|
||||
{
|
||||
x = float(copy.x);
|
||||
y = float(copy.y);
|
||||
|
||||
@@ -19,15 +19,11 @@ namespace MathEngine {
|
||||
|
||||
Vector4( const SDL_Rect& copy );
|
||||
|
||||
Vector4& operator=( const SDL_Rect& copy );
|
||||
|
||||
bool operator==(const SDL_Rect& other) const;
|
||||
Vector4& operator = ( const SDL_Rect& copy );
|
||||
|
||||
Vector4( const iVector4& copy );
|
||||
|
||||
Vector4& operator=( const iVector4& copy );
|
||||
|
||||
bool operator==(const Vector4& other) const;
|
||||
Vector4& operator = ( const iVector4& copy );
|
||||
|
||||
float w;
|
||||
};/// END STRUCT DEFINITION Vector4
|
||||
|
||||
Reference in New Issue
Block a user