oculus1

view libovr/Src/OVR_DeviceConstants.h @ 29:9a973ef0e2a3

fixed the performance issue under MacOSX by replacing glutSolidTeapot (which uses glEvalMesh) with my own teapot generator.
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 27 Oct 2013 06:31:18 +0200
parents
children
line source
1 /************************************************************************************
3 PublicHeader: OVR.h
4 Filename : OVR_DeviceConstants.h
5 Content : Device constants
6 Created : February 5, 2013
7 Authors : Lee Cooper
9 Copyright : Copyright 2013 Oculus VR, Inc. All Rights reserved.
11 Use of this software is subject to the terms of the Oculus license
12 agreement provided at the time of installation or download, or which
13 otherwise accompanies this software in either electronic or hard copy form.
15 *************************************************************************************/
17 #ifndef OVR_DeviceConstants_h
18 #define OVR_DeviceConstants_h
20 namespace OVR {
23 //-------------------------------------------------------------------------------------
24 // Different device types supported by OVR; this type is reported by DeviceBase::GetType.
25 //
26 enum DeviceType
27 {
28 Device_None = 0,
29 Device_Manager = 1,
30 Device_HMD = 2,
31 Device_Sensor = 3,
32 Device_LatencyTester = 4,
33 Device_All = 0xFF // Set for enumeration only, to enumerate all device types.
34 };
36 } // namespace OVR
38 #endif