aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/je_gl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Graphics/je_gl.h')
-rw-r--r--src/libjin/Graphics/je_gl.h40
1 files changed, 40 insertions, 0 deletions
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