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.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/libjin/Graphics/je_gl.h b/src/libjin/Graphics/je_gl.h
index 1dddab3..03bd26a 100644
--- a/src/libjin/Graphics/je_gl.h
+++ b/src/libjin/Graphics/je_gl.h
@@ -14,19 +14,20 @@ namespace JinEngine
namespace Graphics
{
- class OpenGL : public ogl2d::OpenGL
+ class OpenGL
+ : public ogl2d::OpenGL
{
public:
///
///
///
Math::Matrix ProjectionMatrix;
-
+/*
///
///
///
Math::Matrix ModelMatrix;
-
+*/
///
///
///
@@ -50,11 +51,13 @@ namespace JinEngine
void rotate(float r);
- const Math::Matrix& getMatrix() { return mMatrix; };
+ Math::Matrix getModelMatrix(float x, float y, float sx, float sy, float r, float ox, float oy);
+
+ Math::Matrix getModelMatrix();
private:
- void calcMatrix();
+ void solve();
Color mCurrentColor;
std::vector<Math::Matrix> mMatrices;