]> git.tdb.fi Git - libs/vr.git/blobdiff - source/stereoview.h
Provide absolute render target dimensions from StereoCombiner
[libs/vr.git] / source / stereoview.h
index f9e9a560ea7eefc21b8f4081cf627267e4e601db..911f5f8f1ffd922984d4c705782f07c7af9cdc7f 100644 (file)
@@ -45,8 +45,6 @@ private:
                void render(const GL::Renderable &) const;
        };
 
-       unsigned width;
-       unsigned height;
        const GL::Camera &base_camera;
        const GL::Renderable &renderable;
        const StereoCombiner *combiner;
@@ -56,7 +54,7 @@ private:
        Geometry::Angle<float> strabismus;
 
 public:
-       StereoView(unsigned, unsigned, const GL::Camera &, const GL::Renderable &, const StereoCombiner &);
+       StereoView(const GL::Camera &, const GL::Renderable &, const StereoCombiner &);
 
        void set_combiner(const StereoCombiner &);
        void set_eye_spacing(float);