The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/ohmd: Tidy includes [NFC]

+22 -17
+12 -11
src/xrt/drivers/ohmd/oh_device.c
··· 1 - // Copyright 2019, Collabora, Ltd. 1 + // Copyright 2019-2023, Collabora, Ltd. 2 2 // SPDX-License-Identifier: BSL-1.0 3 3 /*! 4 4 * @file ··· 7 7 * @ingroup drv_ohmd 8 8 */ 9 9 10 - 11 - #include "math/m_mathinclude.h" 12 10 #include "xrt/xrt_config_os.h" 11 + #include "xrt/xrt_device.h" 13 12 #include "xrt/xrt_prober.h" 14 13 15 - #include <stdio.h> 16 - #include <stdlib.h> 17 - #include <string.h> 18 - #include <assert.h> 19 - 20 14 #include "os/os_time.h" 21 15 22 - #include "openhmd.h" 23 - 16 + #include "math/m_mathinclude.h" 24 17 #include "math/m_api.h" 25 18 #include "math/m_vec2.h" 26 - #include "xrt/xrt_device.h" 19 + 27 20 #include "util/u_var.h" 28 21 #include "util/u_misc.h" 29 22 #include "util/u_debug.h" ··· 33 26 #include "util/u_logging.h" 34 27 35 28 #include "oh_device.h" 29 + 30 + #include "openhmd.h" 31 + 32 + #include <stdio.h> 33 + #include <stdlib.h> 34 + #include <string.h> 35 + #include <assert.h> 36 + 36 37 37 38 // Should we permit finite differencing to compute angular velocities when not 38 39 // directly retrieved?
+5 -2
src/xrt/drivers/ohmd/oh_device.h
··· 1 - // Copyright 2019, Collabora, Ltd. 1 + // Copyright 2019-2023, Collabora, Ltd. 2 2 // SPDX-License-Identifier: BSL-1.0 3 3 /*! 4 4 * @file ··· 9 9 10 10 #pragma once 11 11 12 + #include "xrt/xrt_device.h" 12 13 #include "math/m_api.h" 13 - #include "xrt/xrt_device.h" 14 + 15 + #include "openhmd.h" 16 + 14 17 15 18 #ifdef __cplusplus 16 19 extern "C" {
+5 -4
src/xrt/drivers/ohmd/oh_prober.c
··· 7 7 * @ingroup drv_ohmd 8 8 */ 9 9 10 - #include <stdio.h> 11 - #include <stdlib.h> 12 - 13 - #include "openhmd.h" 14 10 #include "xrt/xrt_prober.h" 15 11 16 12 #include "util/u_misc.h" ··· 18 14 19 15 #include "oh_interface.h" 20 16 #include "oh_device.h" 17 + 18 + #include "openhmd.h" 19 + 20 + #include <stdio.h> 21 + #include <stdlib.h> 21 22 22 23 23 24 /*!