1 #ifndef MSP_VR_STEREOCOMBINER_H_
2 #define MSP_VR_STEREOCOMBINER_H_
4 #include <msp/geometry/angle.h>
5 #include <msp/gl/texture2d.h>
16 Geometry::Angle<float> fov;
21 virtual ~StereoCombiner() { }
23 float get_width_factor() const { return width_factor; }
24 float get_height_factor() const { return height_factor; }
25 float get_aspect_factor() const { return aspect_factor; }
26 const Geometry::Angle<float> &get_field_of_view() const { return fov; }
27 float get_frustum_skew() const { return frustum_skew; }
29 virtual void render(const GL::Texture2D &, const GL::Texture2D &) const = 0;