The open source OpenXR runtime
0
fork

Configure Feed

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

d/remote: Add support for local_floor

+5
+5
src/xrt/drivers/remote/r_hub.c
··· 488 488 struct xrt_pose local_offset = {XRT_QUAT_IDENTITY, {0.0f, 1.6f, 0.0f}}; 489 489 u_space_overseer_create_offset_space(uso, root, &local_offset, &xso->semantic.local); 490 490 491 + // Local floor at the same place as local except at floor height. 492 + struct xrt_pose local_floor_offset = local_offset; 493 + local_floor_offset.position.y = 0.0f; 494 + u_space_overseer_create_offset_space(uso, root, &local_floor_offset, &xso->semantic.local_floor); 495 + 491 496 // Make view space be the head pose. 492 497 u_space_overseer_create_pose_space(uso, head, XRT_INPUT_GENERIC_HEAD_POSE, &xso->semantic.view); 493 498