X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstereoview.h;h=b1e0473029fec0e05ceb848f1aefd5c9f0fbe700;hb=c95fa921952df86629181e033a3a739cfc311fc6;hp=fe3d6d6b82f57de8a920ea01c326ccde6c817748;hpb=5244110fa8d347b8539f4fcff1bea729eecc2027;p=libs%2Fvr.git diff --git a/source/stereoview.h b/source/stereoview.h index fe3d6d6..b1e0473 100644 --- a/source/stereoview.h +++ b/source/stereoview.h @@ -41,7 +41,7 @@ private: Eye(); void create_target(unsigned, unsigned); - void setup_frame(const GL::Camera &, const GL::Vector3 &, const EyeParams &) const; + void setup_frame(const GL::Camera &, const GL::Vector3 &, float, const EyeParams &) const; void render(const GL::Renderable &, const GL::Tag &) const; }; @@ -53,6 +53,7 @@ private: Eye left; Eye right; float eye_spacing; + Geometry::Angle strabismus; mutable GL::Vector3 offset_axis; public: @@ -60,6 +61,7 @@ public: void set_combiner(const StereoCombiner &); void set_eye_spacing(float); + void set_strabismus(const Geometry::Angle &); virtual void setup_frame() const; virtual void finish_frame() const;