]> 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 842636e6697ce780f23c39531c2d1d30dec4f19b..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;
@@ -54,10 +52,9 @@ private:
        Eye right;
        float eye_spacing;
        Geometry::Angle<float> strabismus;
-       mutable GL::Vector3 offset_axis;
 
 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);