Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all
Unified · Split
| @@ -2673,6 +2673,14 @@ void Application::queryOctree(NodeType_t serverType, PacketType packetType, Node · 2672 unmodified lines | ||
| 2673 | 2673 | } |
| 2674 | 2674 | } |
| 2675 | 2675 | |
| 2676 | +bool Application::isHMDMode() const { | |
| 2677 | + if (OculusManager::isConnected()) { | |
| 2678 | + return true; | |
| 2679 | + } else { | |
| 2680 | + return false; | |
| 2681 | + } | |
| 2682 | +} | |
| 2683 | + | |
| 2676 | 2684 | ///////////////////////////////////////////////////////////////////////////////////// |
| 2677 | 2685 | // loadViewFrustum() |
| 2678 | 2686 | // |