summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/Quad.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-27 23:37:24 +0800
committerchai <chaifix@163.com>2021-10-27 23:37:24 +0800
commit305ca0a09d4e750186b5190432de47f3493e806a (patch)
treed82f9ef73191abc2acbcbfdca4b184a28e6c381b /Runtime/Graphics/Quad.h
parent51ced5a191078ce4ef08d57e343e91db007f556f (diff)
*GfxDevice
Diffstat (limited to 'Runtime/Graphics/Quad.h')
-rw-r--r--Runtime/Graphics/Quad.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/Runtime/Graphics/Quad.h b/Runtime/Graphics/Quad.h
index 58db95a..0e38ec4 100644
--- a/Runtime/Graphics/Quad.h
+++ b/Runtime/Graphics/Quad.h
@@ -1,25 +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
+#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