From: Mikko Rasa Date: Wed, 5 Oct 2016 23:37:31 +0000 (+0300) Subject: Add getters for the camera in StereoView X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=b991b451b536d7e16703f22f989cb881f9eecbe8;p=libs%2Fvr.git Add getters for the camera in StereoView --- diff --git a/source/stereoview.h b/source/stereoview.h index bc9073e..ec1b246 100644 --- a/source/stereoview.h +++ b/source/stereoview.h @@ -62,6 +62,8 @@ private: void init(); public: + const GL::Camera &get_base_camera() const { return base_camera; } + const HeadTrackingCamera *get_head_camera() const { return head_camera; } void set_content(const GL::Renderable *); void set_eye_spacing(float); void set_eye_matrices(const GL::Matrix &, const GL::Matrix &);