| 719 | } |
| 720 | |
| 721 | OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetBoundaryDimensions(ovrSession session, ovrBoundaryType boundaryType, ovrVector3f* outDimensions) |
| 722 | { |
| 723 | REV_TRACE(ovr_GetBoundaryDimensions); |
| 724 | |
| 725 | outDimensions->y = 0.0f; // TODO: Find some good default height |
| 726 | bool valid = vr::VRChaperone()->GetPlayAreaSize(&outDimensions->x, &outDimensions->z); |
| 727 | return valid ? ovrSuccess : ovrSuccess_BoundaryInvalid; |
| 728 | } |
| 729 | |
| 730 | OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetBoundaryVisible(ovrSession session, ovrBool* outIsVisible) |
| 731 | { |
nothing calls this directly
no outgoing calls
no test coverage detected