From 91c32cb173201ac8803a1e4452e8342969b8e484 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 29 Oct 2021 13:36:49 +0800 Subject: *GLSL test --- Runtime/Graphics/UIQuad.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Runtime/Graphics/UIQuad.h') 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: -- cgit v1.1-26-g67d0