xrt: Tidy various header includes

This commit is contained in:
Jakob Bornecrantz 2023-03-16 00:49:43 +00:00
parent 0c83cd350b
commit 531b10fa4c
5 changed files with 26 additions and 22 deletions

View file

@ -10,9 +10,11 @@
#pragma once #pragma once
#include "xrt/xrt_defines.h" #include "xrt/xrt_defines.h"
#include "util/u_misc.h" #include "util/u_misc.h"
#include "util/u_hand_tracking.h" #include "util/u_hand_tracking.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif

View file

@ -8,8 +8,7 @@
*/ */
#include "util/u_misc.h" #include "util/u_misc.h"
#include "util/u_tracked_imu_3dof.h"
#include "u_tracked_imu_3dof.h"
static void static void

View file

@ -9,24 +9,24 @@
* @ingroup drv_cemu * @ingroup drv_cemu
*/ */
#include "ht_ctrl_emu_interface.h"
#include "xrt/xrt_defines.h" #include "xrt/xrt_defines.h"
#include "xrt/xrt_device.h"
#include "os/os_time.h"
#include "math/m_api.h" #include "math/m_api.h"
#include "math/m_space.h" #include "math/m_space.h"
#include "math/m_vec3.h" #include "math/m_vec3.h"
#include "util/u_var.h"
#include "util/u_time.h"
#include "util/u_misc.h" #include "util/u_misc.h"
#include "util/u_debug.h" #include "util/u_debug.h"
#include "util/u_time.h"
#include "util/u_device.h" #include "util/u_device.h"
#include "util/u_distortion_mesh.h" #include "util/u_distortion_mesh.h"
#include "util/u_var.h"
#include "util/u_config_json.h" #include "util/u_config_json.h"
#include "os/os_time.h" #include "ht_ctrl_emu_interface.h"
#include "xrt/xrt_device.h"
#include <assert.h> #include <assert.h>
#include <stdio.h> #include <stdio.h>

View file

@ -7,14 +7,16 @@
* @ingroup drv_multi * @ingroup drv_multi
*/ */
#include "multi.h"
#include "util/u_misc.h"
#include "util/u_device.h"
#include "util/u_debug.h"
#include "math/m_api.h" #include "math/m_api.h"
#include "math/m_space.h" #include "math/m_space.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_device.h"
#include "multi.h"
DEBUG_GET_ONCE_LOG_OPTION(multi_log, "MULTI_LOG", U_LOGGING_WARN) DEBUG_GET_ONCE_LOG_OPTION(multi_log, "MULTI_LOG", U_LOGGING_WARN)
#define MULTI_TRACE(d, ...) U_LOG_XDEV_IFL_T(&d->base, d->log_level, __VA_ARGS__) #define MULTI_TRACE(d, ...) U_LOG_XDEV_IFL_T(&d->base, d->log_level, __VA_ARGS__)

View file

@ -7,24 +7,25 @@
* @ingroup drv_qwerty * @ingroup drv_qwerty
*/ */
#include "qwerty_device.h" #include "xrt/xrt_device.h"
#include "util/u_misc.h"
#include "util/u_device.h"
#include "util/u_distortion_mesh.h"
#include "util/u_var.h"
#include "util/u_logging.h"
#include "util/u_time.h"
#include "math/m_api.h" #include "math/m_api.h"
#include "math/m_space.h" #include "math/m_space.h"
#include "math/m_mathinclude.h" #include "math/m_mathinclude.h"
#include "xrt/xrt_device.h" #include "util/u_device.h"
#include "util/u_distortion_mesh.h"
#include "util/u_var.h"
#include "util/u_logging.h"
#include "util/u_time.h"
#include "util/u_misc.h"
#include "qwerty_device.h"
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#define QWERTY_HMD_INITIAL_MOVEMENT_SPEED 0.002f // in meters per frame #define QWERTY_HMD_INITIAL_MOVEMENT_SPEED 0.002f // in meters per frame
#define QWERTY_HMD_INITIAL_LOOK_SPEED 0.02f // in radians per frame #define QWERTY_HMD_INITIAL_LOOK_SPEED 0.02f // in radians per frame
#define QWERTY_CONTROLLER_INITIAL_MOVEMENT_SPEED 0.005f #define QWERTY_CONTROLLER_INITIAL_MOVEMENT_SPEED 0.005f