6abb11651290fb037c0315b97a53e63377f09afb
[libs/vr.git] / source / ovr / oculusriftcamera.h
1 #ifndef MSP_VR_OCULUSRIFTCAMERA_H_
2 #define MSP_VR_OCULUSRIFTCAMERA_H_
3
4 #include <msp/vr/headtrackingcamera.h>
5
6 namespace Msp {
7 namespace VR {
8
9 class OculusRiftSystem;
10
11 class OculusRiftCamera: public HeadTrackingCamera
12 {
13 private:
14         const OculusRiftSystem &device;
15
16 public:
17         OculusRiftCamera(const OculusRiftSystem &, const GL::Camera &);
18
19         virtual void reset_tracking();
20         virtual void update();
21 };
22
23 } // namespace VR
24 } // namespace Msp
25
26 #endif