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.h30
1 files changed, 30 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..296b8aa
--- /dev/null
+++ b/src/libjin/Graphics/je_gl.h
@@ -0,0 +1,30 @@
+#ifndef __LIBJIN_OPENGL_H
+#define __LIBJIN_OPENGL_H
+
+#include "../3rdparty/GLee/GLee.h"
+#include "../3rdparty/ogl/OpenGL.h"
+#include "../math/je_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