aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/OpenGL.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Graphics/OpenGL.h')
-rw-r--r--src/libjin/Graphics/OpenGL.h29
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