st/oxr: Tidy oxr_space_locate

This commit is contained in:
Jakob Bornecrantz 2022-03-14 23:07:51 +00:00 committed by Jakob Bornecrantz
parent 587d26bb45
commit b2d2cf3ade

View file

@ -466,6 +466,10 @@ oxr_space_locate(
}
/*
* Combine and copy
*/
// Combine space and base space poses with pure relation
struct xrt_space_relation result;
struct xrt_relation_chain xrc = {0};
@ -498,15 +502,10 @@ oxr_space_locate(
}
}
#if 0
location->linearVelocity = *(XrVector3f *)&result.linear_velocity;
location->angularVelocity = *(XrVector3f *)&result.angular_velocity;
location->linearAcceleration =
*(XrVector3f *)&result.linear_acceleration;
location->angularAcceleration =
*(XrVector3f *)&result.angular_acceleration;
#endif
/*
* Print
*/
if (print) {
print_pose_slog(&slog, "\n\tpure->pose", (struct xrt_pose *)&pure.pose);