summaryrefslogtreecommitdiff
path: root/src/GLView.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/GLView.h')
-rw-r--r--src/GLView.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/GLView.h b/src/GLView.h
index b3d4f3c..0b4de7b 100644
--- a/src/GLView.h
+++ b/src/GLView.h
@@ -33,7 +33,6 @@ class GLView
public:
GLView();
void setRenderer(Renderer* r);
- Renderer *renderer;
void initializeGL();
void resizeGL(int w, int h);
@@ -56,6 +55,8 @@ public:
virtual bool save(const char *filename) = 0;
virtual std::string getRendererInfo() const = 0;
+ Renderer *renderer;
+ Camera cam;
size_t far_far_away;
size_t width;
size_t height;
@@ -66,8 +67,6 @@ public:
bool showedges;
bool showcrosshairs;
- Camera cam;
-
#ifdef ENABLE_OPENCSG
GLint shaderinfo[11];
bool is_opencsg_capable;
contact: Jan Huwald // Impressum