diff options
author | Sven Gothel <[email protected]> | 2015-03-28 02:08:11 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-28 02:08:11 +0100 |
commit | 450aa6f7df9e67dd256b86f94e65eaf707032aad (patch) | |
tree | 04aa207d84ddc8ca246d2573aaaf756b3ce8a0b5 /LibOVR/Src/Sensors/OVR_DeviceConstants.h | |
parent | 3c7b8a17e907f4ef2afd9f77db566a3f6179cbe4 (diff) | |
parent | 4207f9c279e832e3afcb3f5fc6cd8d84cb4cfe4c (diff) |
Merge branch 'vanilla_0.5.0.1' into jogamp_0.5.0.1
Conflicts:
LibOVR/Include/OVR_CAPI_0_5_0.h
LibOVR/Src/CAPI/CAPI_HMDState.cpp
LibOVR/Src/Displays/OVR_Win32_Dxgi_Display.h
LibOVR/Src/Kernel/OVR_System.cpp
LibOVR/Src/OVR_CAPI.cpp
LibOVR/Src/OVR_Profile.cpp
LibOVRKernel/Src/Kernel/OVR_ThreadsWinAPI.cpp
LibOVRKernel/Src/Kernel/OVR_Types.h
Diffstat (limited to 'LibOVR/Src/Sensors/OVR_DeviceConstants.h')
-rwxr-xr-x[-rw-r--r--] | LibOVR/Src/Sensors/OVR_DeviceConstants.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/LibOVR/Src/Sensors/OVR_DeviceConstants.h b/LibOVR/Src/Sensors/OVR_DeviceConstants.h index 445ae74..f974e92 100644..100755 --- a/LibOVR/Src/Sensors/OVR_DeviceConstants.h +++ b/LibOVR/Src/Sensors/OVR_DeviceConstants.h @@ -27,7 +27,9 @@ limitations under the License. #ifndef OVR_DeviceConstants_h #define OVR_DeviceConstants_h -#include "../Kernel/OVR_Math.h" +#include "Kernel/OVR_Types.h" +#include "Extras/OVR_Math.h" + // CAPI forward declarations. struct ovrSensorData_; @@ -70,6 +72,7 @@ enum DistortionEqnType //------------------------------------------------------------------------------------- // HMD types. +// We use ordinal comparison on the enums often, so the list should be in chronological/capabilities order // enum HmdTypeEnum { @@ -82,6 +85,8 @@ enum HmdTypeEnum HmdType_DKHDProto566Mi, // DKHD, 5.66-inch panel, never sold. HmdType_CrystalCoveProto, // Crystal Cove, 5.66-inch panel, shown at shows but never sold. HmdType_DK2, + HmdType_BlackStar, // Prototype for E3 2014 + HmdType_CB, // EVT Prototypes for Oculus Connect // Reminder - this header file is public - codenames only! @@ -100,11 +105,6 @@ enum HmdShutterTypeEnum HmdShutter_RollingTopToBottom, HmdShutter_RollingLeftToRight, HmdShutter_RollingRightToLeft, - // TODO: - // color-sequential e.g. LCOS? - // alternate eyes? - // alternate columns? - // outside-in? HmdShutter_LAST }; @@ -134,6 +134,8 @@ enum EyeCupType EyeCup_Delilah2A, EyeCup_JamesA, EyeCup_SunMandalaA, + EyeCup_BlackStar, + EyeCup_EVTProto, EyeCup_LAST }; @@ -147,7 +149,6 @@ enum EyeCupType class SensorDataType { public: - SensorDataType() : Temperature(0.0f), AbsoluteTimeSeconds(0.0) { } // C-interop support @@ -176,6 +177,9 @@ public: static_assert((sizeof(SensorDataType) == 3*sizeof(Vector3f) + sizeof(float) + sizeof(double)), "sizeof(SensorDataType) failure"); + + + #pragma pack(pop) |