oculus1
view src/vr_impl.h @ 1:e2f9e4603129
added LibOVR and started a simple vr wrapper.
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 14 Sep 2013 16:14:59 +0300 |
parents | |
children | b069a5c27388 |
line source
1 #ifndef VR_IMPL_H_
2 #define VR_IMPL_H_
4 #include <OVR.h>
6 using namespace OVR;
8 struct VRData {
9 DeviceManager *ovr_devman;
10 HMDDevice *ovr_hmd_dev;
11 SensorDevice *ovr_sensor_dev;
13 float fov;
14 float aspect;
15 float ipd;
16 float distort[4];
17 };
19 extern VRData vr_data;
21 #endif // VR_IMPL_H_