summaryrefslogtreecommitdiff
path: root/src/GLView.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-03-02 00:41:50 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-03-02 00:41:50 (GMT)
commiteb1f73de0393bd890c9648932ae2e04de2c65ba3 (patch)
tree773c61349179f3b317b7b7eb7e1010bccc2ff5f3 /src/GLView.h
parent06fd9e2798f5683ae2134b0eeb75dad2574e3799 (diff)
add Camera.h per bug rept from Marius Kintel
Diffstat (limited to 'src/GLView.h')
-rw-r--r--src/GLView.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/GLView.h b/src/GLView.h
index 6dadbf8..5d52e05 100644
--- a/src/GLView.h
+++ b/src/GLView.h
@@ -8,14 +8,14 @@ This class is inherited by
*QGLview (for Qt GUI)
*OffscreenView (used in tests and for offscreen command-line rendering).
-There are two different types of cameras (in linalg.h)
+There are two different types of cameras
*Gimbal camera - uses Euler Angles, object translation, and viewer distance
*Vector camera - uses 'eye', 'center', and 'up' vectors
-Currently, the two cameras are not kept in sync and there is no way
-to switch between them at runtime. QGLView uses GimbalCamera and
-OffscreenView uses VectorCamera.
+Currently, the two cameras are not kept in sync and they are not easily
+interchangable in code QGLView uses GimbalCamera while OffscreenView can
+use both (but defaults to Vector)
*/
@@ -28,7 +28,6 @@ OffscreenView uses VectorCamera.
#include "system-gl.h"
#include <iostream>
#include "renderer.h"
-#include "linalg.h"
#include "Camera.h"
#define FAR_FAR_AWAY 100000.0
@@ -54,9 +53,6 @@ public:
void setupVectorCamOrtho(bool offset=false);
void vectorCamPaintGL();
- void setCamera( NullCamera &nc );
- void setCamera( GimbalCamera &gc );
- void setCamera( VectorCamera &vc );
void setCamera( Camera &cam );
void showCrosshairs();
contact: Jan Huwald // Impressum