From 40fc27154fe754181934dc7ee31375e6bdfb33fc Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 23 Oct 2018 12:23:58 +0800 Subject: *merge from minimal --- src/libjin/Graphics/je_gl.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/libjin/Graphics/je_gl.h (limited to 'src/libjin/Graphics/je_gl.h') diff --git a/src/libjin/Graphics/je_gl.h b/src/libjin/Graphics/je_gl.h new file mode 100644 index 0000000..cda8bf9 --- /dev/null +++ b/src/libjin/Graphics/je_gl.h @@ -0,0 +1,40 @@ +#ifndef __JE_OPENGL_H +#define __JE_OPENGL_H + +#include "../3rdparty/GLee/GLee.h" +#include "../3rdparty/ogl/OpenGL.h" +#include "../math/je_matrix.h" + +namespace JinEngine +{ + namespace Graphics + { + + class OpenGL : public ogl2d::OpenGL + { + public: + /// + /// + /// + Math::Matrix ProjectionMatrix; + + /// + /// + /// + Math::Matrix ModelMatrix; + + /// + /// + /// + OpenGL() : ogl2d::OpenGL() + { + } + + }; + + extern OpenGL gl; + + } // namespace Graphics +} // namespace JinEngine + +#endif // __JE_OPENGL_H \ No newline at end of file -- cgit v1.1-26-g67d0