diff options
author | chai <chaifix@163.com> | 2021-10-29 13:36:49 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-29 13:36:49 +0800 |
commit | 91c32cb173201ac8803a1e4452e8342969b8e484 (patch) | |
tree | 5e78c485b5fcfcf839a2348667597d7e10476214 /Runtime/Graphics/UIQuad.h | |
parent | 1f92d4c389cceba6f90261d9cb29885c8a3ca24c (diff) |
*GLSL test
Diffstat (limited to 'Runtime/Graphics/UIQuad.h')
-rw-r--r-- | Runtime/Graphics/UIQuad.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Runtime/Graphics/UIQuad.h b/Runtime/Graphics/UIQuad.h index 166b662..a0d77a5 100644 --- a/Runtime/Graphics/UIQuad.h +++ b/Runtime/Graphics/UIQuad.h @@ -3,6 +3,13 @@ class UIQuad { public : + UIQuad(float l, float r, float t, float b) + { + m_Left = l; + m_Right = r; + m_Top = t; + m_Bottom = b; + } void Draw(); private: |