X-Git-Url: http://git.tdb.fi/?p=libs%2Fvr.git;a=blobdiff_plain;f=source%2Fsidebysidecombiner.h;h=52eda28ab75ec5361574f49ac9ec7e8a095b801d;hp=f6ec593a1ed471ba15caf40187c782d22d8488a6;hb=5244110fa8d347b8539f4fcff1bea729eecc2027;hpb=3d83f3acedfdd428807313986eefaf5bcd64b7e8 diff --git a/source/sidebysidecombiner.h b/source/sidebysidecombiner.h index f6ec593..52eda28 100644 --- a/source/sidebysidecombiner.h +++ b/source/sidebysidecombiner.h @@ -1,21 +1,21 @@ -#ifndef MSP_GL_SIDEBYSIDECOMBINER_H_ -#define MSP_GL_SIDEBYSIDECOMBINER_H_ +#ifndef MSP_VR_SIDEBYSIDECOMBINER_H_ +#define MSP_VR_SIDEBYSIDECOMBINER_H_ -#include "mesh.h" -#include "program.h" -#include "programdata.h" +#include +#include +#include #include "stereocombiner.h" namespace Msp { -namespace GL { +namespace VR { class SideBySideCombiner: public StereoCombiner { private: - Mesh mesh; - Program shprog; - ProgramData left_shdata; - ProgramData right_shdata; + GL::Mesh mesh; + GL::Program shprog; + GL::ProgramData left_shdata; + GL::ProgramData right_shdata; bool cross_eyed; public: @@ -23,10 +23,10 @@ public: void set_cross_eyed(bool); - virtual void render(const Texture2D &, const Texture2D &) const; + virtual void render(const GL::Texture2D &, const GL::Texture2D &) const; }; -} // namespace GL +} // namespace VR } // namespace Msp #endif