diff options
Diffstat (limited to 'tests/OffscreenView.h')
-rw-r--r-- | tests/OffscreenView.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/OffscreenView.h b/tests/OffscreenView.h index 453d4d0..d71ea2f 100644 --- a/tests/OffscreenView.h +++ b/tests/OffscreenView.h @@ -11,10 +11,12 @@ public: ~OffscreenView(); void setRenderer(class Renderer* r); + void setCamera(double xpos, double ypos, double zpos, + double xcenter, double ycenter, double zcenter); void initializeGL(); void resizeGL(int w, int h); void setupPerspective(); - void setupOrtho(double distance,bool offset=false); + void setupOrtho(bool offset=false); void paintGL(); bool save(const char *filename); @@ -26,12 +28,17 @@ private: double object_rot_x; double object_rot_y; double object_rot_z; + double camera_eye_x; + double camera_eye_y; + double camera_eye_z; + double camera_center_x; + double camera_center_y; + double camera_center_z; bool orthomode; bool showaxes; bool showfaces; bool showedges; - float viewer_distance; }; #endif |