35 lines
786 B
C++
35 lines
786 B
C++
#ifndef _VECTOR4_HPP_
|
|
#define _VECTOR4_HPP_
|
|
|
|
/*** SDL Header Files ***/
|
|
#include <SDL.h>
|
|
|
|
/*** DLL Header File ***/
|
|
#include "dllExport.h"
|
|
|
|
/*** Custom Header File ***/
|
|
#include "Vector3.hpp"
|
|
|
|
namespace MathEngine {
|
|
struct iVector4;
|
|
|
|
struct EXPORT_FROM_MYDLL Vector4 : public Vector3
|
|
{
|
|
Vector4( const float X = 0.0f, const float Y = 0.0f, const float Z = 0.0f, const float W = 0.0f );
|
|
|
|
Vector4( const SDL_Rect& copy );
|
|
|
|
Vector4& operator=( const SDL_Rect& copy );
|
|
|
|
bool operator==(const SDL_Rect& other) const;
|
|
|
|
Vector4( const iVector4& copy );
|
|
|
|
Vector4& operator=( const iVector4& copy );
|
|
|
|
bool operator==(const Vector4& other) const;
|
|
|
|
float w;
|
|
};/// END STRUCT DEFINITION Vector4
|
|
}/// END NAMESPACE DEFINITION MathEngine
|
|
#endif/// END IFNDEF _VECTOR4_HPP_
|