diff options
author | chai <chaifix@163.com> | 2018-10-05 15:40:31 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-05 15:40:31 +0800 |
commit | 789895b4b9f99668b8b772f271d07d1ce3115742 (patch) | |
tree | 3ae85381358445b2c29c9a0afb59375de9a7ce66 /src/libjin/Graphics/OpenGL.h | |
parent | 846d6ab0ec1033481574e8324a43fc547ecf5882 (diff) |
*update
Diffstat (limited to 'src/libjin/Graphics/OpenGL.h')
-rw-r--r-- | src/libjin/Graphics/OpenGL.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/libjin/Graphics/OpenGL.h b/src/libjin/Graphics/OpenGL.h new file mode 100644 index 0000000..51395ba --- /dev/null +++ b/src/libjin/Graphics/OpenGL.h @@ -0,0 +1,29 @@ +#ifndef __LIBJIN_OPENGL_H +#define __LIBJIN_OPENGL_H +#include "../3rdparty/GLee/GLee.h" +#include "../3rdparty/ogl/OpenGL.h" +#include "../Math/Matrix.h" + +namespace jin +{ +namespace graphics +{ + + class OpenGL : public ogl2d::OpenGL + { + public: + math::Matrix ProjectionMatrix; + math::Matrix ModelMatrix; + + OpenGL() : ogl2d::OpenGL() + { + } + + }; + + extern OpenGL gl; + +} +} + +#endif
\ No newline at end of file |