Commit 072e9afb authored by Jakob Bornecrantz's avatar Jakob Bornecrantz

t/psvr: Counter tracking origin offset

At least until we have proper tracking for the PSVR.
parent 9e7eaa58
Pipeline #75766 passed with stages
in 1 minute and 51 seconds
......@@ -279,8 +279,15 @@ t_psvr_create(struct xrt_frame_context *xfctx,
return ret;
t.fusion.pos.y = 1.6f;
// HACK, to counter the tracking origin offset.
t.fusion.pos.x = 0.0f;
t.fusion.pos.y = 0.6f;
t.fusion.pos.z = -2.0f;
t.fusion.rot.x = 0.0f;
t.fusion.rot.y = 1.0f;
t.fusion.rot.z = 0.0f;
t.fusion.rot.w = 0.0f;
xrt_frame_context_add(xfctx, &t.node);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment