mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
st/oxr: Tidy oxr_space_locate
This commit is contained in:
parent
587d26bb45
commit
b2d2cf3ade
|
@ -466,6 +466,10 @@ oxr_space_locate(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Combine and copy
|
||||||
|
*/
|
||||||
|
|
||||||
// Combine space and base space poses with pure relation
|
// Combine space and base space poses with pure relation
|
||||||
struct xrt_space_relation result;
|
struct xrt_space_relation result;
|
||||||
struct xrt_relation_chain xrc = {0};
|
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) {
|
if (print) {
|
||||||
print_pose_slog(&slog, "\n\tpure->pose", (struct xrt_pose *)&pure.pose);
|
print_pose_slog(&slog, "\n\tpure->pose", (struct xrt_pose *)&pure.pose);
|
||||||
|
|
Loading…
Reference in a new issue