summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/Quad.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Graphics/Quad.h')
-rw-r--r--Runtime/Graphics/Quad.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/Runtime/Graphics/Quad.h b/Runtime/Graphics/Quad.h
new file mode 100644
index 0000000..0e38ec4
--- /dev/null
+++ b/Runtime/Graphics/Quad.h
@@ -0,0 +1,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 \ No newline at end of file