The open source OpenXR runtime
0
fork

Configure Feed

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

st/oxr: Tidy oxr_space_locate

authored by

Jakob Bornecrantz and committed by
Jakob Bornecrantz
b2d2cf3a 587d26bb

+7 -8
+7 -8
src/xrt/state_trackers/oxr/oxr_space.c
··· 466 466 } 467 467 468 468 469 + /* 470 + * Combine and copy 471 + */ 472 + 469 473 // Combine space and base space poses with pure relation 470 474 struct xrt_space_relation result; 471 475 struct xrt_relation_chain xrc = {0}; ··· 498 502 } 499 503 } 500 504 501 - #if 0 502 - location->linearVelocity = *(XrVector3f *)&result.linear_velocity; 503 - location->angularVelocity = *(XrVector3f *)&result.angular_velocity; 504 - location->linearAcceleration = 505 - *(XrVector3f *)&result.linear_acceleration; 506 - location->angularAcceleration = 507 - *(XrVector3f *)&result.angular_acceleration; 508 - #endif 509 505 506 + /* 507 + * Print 508 + */ 510 509 511 510 if (print) { 512 511 print_pose_slog(&slog, "\n\tpure->pose", (struct xrt_pose *)&pure.pose);