mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
d/wmr: Provide camera orientation to hand tracking
This commit is contained in:
parent
5c958d096d
commit
6ec9b73e1e
|
@ -1494,7 +1494,11 @@ wmr_hmd_hand_track(struct wmr_hmd *wh,
|
|||
#ifdef XRT_BUILD_DRIVER_HANDTRACKING
|
||||
//!@todo Turning it off is okay for now, but we should plug metric_radius (or whatever it's called) in, at some
|
||||
//! point.
|
||||
struct t_camera_extra_info extra_camera_info;
|
||||
struct t_camera_extra_info extra_camera_info = {0};
|
||||
|
||||
extra_camera_info.views[0].camera_orientation = CAMERA_ORIENTATION_0;
|
||||
extra_camera_info.views[1].camera_orientation = CAMERA_ORIENTATION_0;
|
||||
|
||||
extra_camera_info.views[0].boundary_type = HT_IMAGE_BOUNDARY_NONE;
|
||||
extra_camera_info.views[1].boundary_type = HT_IMAGE_BOUNDARY_NONE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue