X-Git-Url: http://git.tdb.fi/?p=libs%2Fvr.git;a=blobdiff_plain;f=source%2Fstereoview.h;h=c1421f81422fc9d2034da8ebf0832cf6c0c8dfd7;hp=f9e9a560ea7eefc21b8f4081cf627267e4e601db;hb=8c61fd4fc7044c4ec0fd008173947b5b4bc00c6f;hpb=0f239b07bc06bf26d0ee0f9c1ee1e3b636f6d1f6 diff --git a/source/stereoview.h b/source/stereoview.h index f9e9a56..c1421f8 100644 --- a/source/stereoview.h +++ b/source/stereoview.h @@ -45,20 +45,18 @@ private: void render(const GL::Renderable &) const; }; - unsigned width; - unsigned height; + const StereoCombiner &combiner; const GL::Camera &base_camera; - const GL::Renderable &renderable; - const StereoCombiner *combiner; + const GL::Renderable *content; Eye left; Eye right; float eye_spacing; Geometry::Angle strabismus; public: - StereoView(unsigned, unsigned, const GL::Camera &, const GL::Renderable &, const StereoCombiner &); + StereoView(const StereoCombiner &, const GL::Camera &); - void set_combiner(const StereoCombiner &); + void set_content(const GL::Renderable *); void set_eye_spacing(float); void set_strabismus(const Geometry::Angle &);