ovrHmd_ConfigureTracking(dev_priv.ovr_hmd, supported, 0);
}
-OculusRiftCamera::~OculusRiftCamera()
-{
-}
-
void OculusRiftCamera::update()
{
ovrTrackingState state = ovrHmd_GetTrackingState(device.get_private().ovr_hmd, ovr_GetTimeInSeconds());
public:
OculusRiftCamera(const OculusRiftDevice &, const GL::Camera &);
- virtual ~OculusRiftCamera();
virtual void update();
};
+++ /dev/null
-#ifndef MSP_VR_OCULUSRIFTCAMERA_PRIVATE_H_
-#define MSP_VR_OCULUSRIFTCAMERA_PRIVATE_H_
-
-#include <OVR.h>
-#include "oculusriftcamera.h"
-
-namespace Msp {
-namespace VR {
-
-struct OculusRiftCamera::Private
-{
- OVR::Ptr<OVR::SensorDevice> ovr_sensor;
- OVR::SensorFusion fusion;
-};
-
-} // namespace VR
-} // namespace Msp
-
-#endif