MCPcopy Create free account
hub / github.com/LibreVR/Revive / ovr_RecenterTrackingOrigin

Function ovr_RecenterTrackingOrigin

Revive/REV_CAPI.cpp:331–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331OVR_PUBLIC_FUNCTION(ovrResult) ovr_RecenterTrackingOrigin(ovrSession session)
332{
333 REV_TRACE(ovr_RecenterTrackingOrigin);
334
335 if (!session)
336 return ovrError_InvalidSession;
337
338 vr::VRChaperone()->ResetZeroPose(vr::VRCompositor()->GetTrackingSpace());
339 return ovrSuccess;
340}
341
342OVR_PUBLIC_FUNCTION(ovrResult) ovr_SpecifyTrackingOrigin(ovrSession session, ovrPosef originPose)
343{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected