#ifndef _STRUCTUREH_H_
#define _STRUCTUREH_H_

#include <WINDOWS.H>

// Engine Structures

struct TRect
{
	float x, y;
	float width, height;
	/*TRect(float ex, float ey, float ew, float eh)
	{
		x = ex;y = ey;width = ew;height = eh;
	}*/
};

struct TAshlar
{
	float x, y, z;
	float width, height, size_z;
};

struct TBBox
{
	float xMin, yMin, zMin;
	float xMax, yMax, zMax;
};

//#define TBBox TBoundingBox;

/*class TAshlar
{
public :
	float x, y, z;
	float width, height, size_z;
};*/

/*class TRect
{
public :
	float x,y;
	float width,height;
	TRect(float x, float y, float w, float h) {this->xwidth = w;}
};*/
struct TVector3
{
	float x, y, z;
};

typedef TRect TRECT;

struct TPoint
{
	float x, y;
};
typedef TPoint TPOINT;

struct TRGBi
{
	int r, g, b;
};

struct TRGBf
{
	float r, g, b;
};

struct TVel
{
	float width, height;
};

const TRect RECT_NULL = {0,0,0};
const TRect RECT_FULL = {1,1,1};

const TRGBi RGBi_BLACK = {0,0,0};
const TRGBi RGBi_RED = {255,0,0};
const TRGBi RGBi_GREEN = {0,255,0};
const TRGBi RGBi_BLUE = {0,0,255};
const TRGBi RGBi_WHITE = {255,255,255};

const TRGBf RGBf_BLACK = {0.0f,0.0f,0.0f};
const TRGBf RGBf_RED = {1.0f,0.0f,0.0f};
const TRGBf RGBf_GREEN = {0.0f,1.0f,0.0f};
const TRGBf RGBf_BLUE = {0.0f,0.0f,1.0f};
const TRGBf RGBf_WHITE = {1.0f,1.0f,1.0f};

#endif //_STRUCTUREH_H_