diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-02-21 12:43:26 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-02-21 12:43:26 (GMT) |
commit | 4f578513a0960d4f079260922cdc86de0948099c (patch) | |
tree | 3874c5f674cd1d1a67b1c15489bce70183b60690 /src/OffscreenView.h | |
parent | c724a393a9e617f5216fb97bf05a57bb6fd4df8e (diff) |
continue with gimbalcam vs eye-center-cam changes
Diffstat (limited to 'src/OffscreenView.h')
-rw-r--r-- | src/OffscreenView.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/OffscreenView.h b/src/OffscreenView.h index 2f19a0c..d455ee9 100644 --- a/src/OffscreenView.h +++ b/src/OffscreenView.h @@ -14,19 +14,20 @@ class OffscreenView { public: - OffscreenView(size_t width, size_t height); - ~OffscreenView(); - void setRenderer(class Renderer* r); + OffscreenView(size_t width, size_t height); // not + ~OffscreenView(); // not + void setRenderer(class Renderer* r); // - void setCamera(const Eigen::Vector3d &pos, const Eigen::Vector3d ¢er); - void initializeGL(); - void resizeGL(int w, int h); + void initializeGL(); // + void resizeGL(int w, int h); // - void setupGimbalPerspective(); - void setupGimbalOrtho(double distance, bool offset=false); + void setGimbalCamera(const Eigen::Vector3d &pos, const Eigen::Vector3d &rot, double distance); // + void setupGimbalPerspective(); // + void setupGimbalOrtho(double distance, bool offset=false); // - void setupPerspective(); - void setupOrtho(bool offset=false); + void setCamera(const Eigen::Vector3d &pos, const Eigen::Vector3d ¢er); // + void setupPerspective(); // + void setupOrtho(bool offset=false); // void paintGL(); // bool save(const char *filename); // |