mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
xrt: Tidy various header includes
This commit is contained in:
parent
0c83cd350b
commit
531b10fa4c
|
@ -10,9 +10,11 @@
|
|||
#pragma once
|
||||
|
||||
#include "xrt/xrt_defines.h"
|
||||
|
||||
#include "util/u_misc.h"
|
||||
#include "util/u_hand_tracking.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
*/
|
||||
|
||||
#include "util/u_misc.h"
|
||||
|
||||
#include "u_tracked_imu_3dof.h"
|
||||
#include "util/u_tracked_imu_3dof.h"
|
||||
|
||||
|
||||
static void
|
||||
|
|
|
@ -9,24 +9,24 @@
|
|||
* @ingroup drv_cemu
|
||||
*/
|
||||
|
||||
#include "ht_ctrl_emu_interface.h"
|
||||
|
||||
#include "xrt/xrt_defines.h"
|
||||
#include "xrt/xrt_device.h"
|
||||
|
||||
#include "os/os_time.h"
|
||||
|
||||
#include "math/m_api.h"
|
||||
#include "math/m_space.h"
|
||||
#include "math/m_vec3.h"
|
||||
|
||||
#include "util/u_var.h"
|
||||
#include "util/u_time.h"
|
||||
#include "util/u_misc.h"
|
||||
#include "util/u_debug.h"
|
||||
#include "util/u_time.h"
|
||||
#include "util/u_device.h"
|
||||
#include "util/u_distortion_mesh.h"
|
||||
#include "util/u_var.h"
|
||||
#include "util/u_config_json.h"
|
||||
|
||||
#include "os/os_time.h"
|
||||
#include "xrt/xrt_device.h"
|
||||
#include "ht_ctrl_emu_interface.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -7,14 +7,16 @@
|
|||
* @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_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)
|
||||
|
||||
#define MULTI_TRACE(d, ...) U_LOG_XDEV_IFL_T(&d->base, d->log_level, __VA_ARGS__)
|
||||
|
|
|
@ -7,24 +7,25 @@
|
|||
* @ingroup drv_qwerty
|
||||
*/
|
||||
|
||||
#include "qwerty_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 "xrt/xrt_device.h"
|
||||
|
||||
#include "math/m_api.h"
|
||||
#include "math/m_space.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 <assert.h>
|
||||
|
||||
|
||||
#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_CONTROLLER_INITIAL_MOVEMENT_SPEED 0.005f
|
||||
|
|
Loading…
Reference in a new issue