| 406 | } |
| 407 | |
| 408 | OVR_PUBLIC_FUNCTION(ovrTrackingState) ovr_GetTrackingState(ovrSession session, double absTime, ovrBool latencyMarker) |
| 409 | { |
| 410 | REV_TRACE(ovr_GetTrackingState); |
| 411 | |
| 412 | ovrTrackingState state = { 0 }; |
| 413 | if (session && session->Input) |
| 414 | { |
| 415 | std::shared_lock<std::shared_mutex> lk(session->TrackingMutex); |
| 416 | session->Input->GetTrackingState(session, &state, absTime); |
| 417 | } |
| 418 | return state; |
| 419 | } |
| 420 | |
| 421 | OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetDevicePoses(ovrSession session, ovrTrackedDeviceType* deviceTypes, int deviceCount, double absTime, ovrPoseStatef* outDevicePoses) |
| 422 | { |
no test coverage detected