summaryrefslogtreecommitdiff
path: root/include/glbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/glbase.h')
-rw-r--r--include/glbase.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/glbase.h b/include/glbase.h
index 6328d94..7e6d454 100644
--- a/include/glbase.h
+++ b/include/glbase.h
@@ -15,12 +15,15 @@ namespace mogltk {
virtual void Leave2DMode(void);
virtual void Flip(void);
virtual bool is2D(void);
+ virtual void changeviewport(int x = 0, int y = 0, unsigned int w = 0, unsigned int h = 0);
+ void changefovy(GLdouble);
static void glVertex(GLshort, GLshort, GLshort = 0, GLshort = 1);
static void glVertex(GLint, GLint, GLint = 0, GLint = 1);
static void glVertex(GLfloat, GLfloat, GLfloat = 0.0, GLfloat = 1.0);
static void glVertex(GLdouble, GLdouble, GLdouble = 0.0, GLdouble = 1.0);
private:
int twoD;
+ GLdouble ratio, fovy;
};
};