From 5534828032730762f8c1e4daf924b466fffb8be0 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 16 Oct 2018 23:09:18 +0800 Subject: =?UTF-8?q?*=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/OpenGL.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/libjin/Graphics/OpenGL.h') diff --git a/src/libjin/Graphics/OpenGL.h b/src/libjin/Graphics/OpenGL.h index 51395ba..47011a2 100644 --- a/src/libjin/Graphics/OpenGL.h +++ b/src/libjin/Graphics/OpenGL.h @@ -6,24 +6,24 @@ namespace jin { -namespace graphics -{ - - class OpenGL : public ogl2d::OpenGL + namespace graphics { - public: - math::Matrix ProjectionMatrix; - math::Matrix ModelMatrix; - OpenGL() : ogl2d::OpenGL() + class OpenGL : public ogl2d::OpenGL { - } + public: + math::Matrix ProjectionMatrix; + math::Matrix ModelMatrix; - }; + OpenGL() : ogl2d::OpenGL() + { + } - extern OpenGL gl; + }; -} + extern OpenGL gl; + + } } #endif \ No newline at end of file -- cgit v1.1-26-g67d0