X-Git-Url: http://git.tdb.fi/?p=libs%2Fvr.git;a=blobdiff_plain;f=source%2Fstereoview.h;h=842636e6697ce780f23c39531c2d1d30dec4f19b;hp=b1e0473029fec0e05ceb848f1aefd5c9f0fbe700;hb=fa43a20e8274638b84c26e052dd8f7cc8993edd9;hpb=12044b218363bdd93f9fc1b3c71167d700144e45 diff --git a/source/stereoview.h b/source/stereoview.h index b1e0473..842636e 100644 --- a/source/stereoview.h +++ b/source/stereoview.h @@ -13,7 +13,7 @@ namespace VR { class StereoCombiner; -class StereoView: public GL::Renderable +class StereoView { private: struct RenderTarget @@ -42,7 +42,7 @@ private: void create_target(unsigned, unsigned); void setup_frame(const GL::Camera &, const GL::Vector3 &, float, const EyeParams &) const; - void render(const GL::Renderable &, const GL::Tag &) const; + void render(const GL::Renderable &) const; }; unsigned width; @@ -63,11 +63,10 @@ public: void set_eye_spacing(float); void set_strabismus(const Geometry::Angle &); - virtual void setup_frame() const; - virtual void finish_frame() const; - - virtual void render(const GL::Tag & = GL::Tag()) const; - virtual void render(GL::Renderer &, const GL::Tag & = GL::Tag()) const; +private: + void setup_frame() const; +public: + void render() const; }; } // namespace VR