summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/Quad.h
blob: 0e38ec45522c64de8592628ea7c85bed5c2eed1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef QUAD_H
#define QUAD_H

#include "../Utilities/UtilMacros.h"

class Quad
{
public: 
	Quad(float l, float r, float t, float b);

	void Set(float l, float r, float t, float b);

	GET_SET(float, Left, m_Left);
	GET_SET(float, Right, m_Right);
	GET_SET(float, Top, m_Top);
	GET_SET(float, Bottom, m_Bottom);

	void Draw(); 

private: 
	float m_Left, m_Right, m_Top, m_Bottom;

};

#endif