mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 13:18:32 +00:00
d/ht: Port to using new zero/identity defines
This commit is contained in:
parent
06eab724ec
commit
c3ce7f33a0
|
@ -78,8 +78,7 @@ ht_device_get_hand_tracking(struct xrt_device *xdev,
|
|||
&htd->hand_relation[index]);
|
||||
htd->u_tracking[index].timestamp_ns = at_timestamp_ns;
|
||||
|
||||
struct xrt_pose identity = {.orientation = {.x = 0, .y = 0, .z = 0, .w = 1},
|
||||
.position = {.x = 0, .y = 0, .z = 0}};
|
||||
struct xrt_pose identity = XRT_POSE_IDENTITY;
|
||||
|
||||
u_hand_joints_set_out_data(&htd->u_tracking[index], hand, &htd->hand_relation[index], &identity, out_value);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue