Showing the changes to interface/src/Application.cpp (1 of 36 files). Show all
Unified · Split
| @@ -2689,6 +2689,14 @@ void Application::queryOctree(NodeType_t serverType, PacketType packetType, Node · 2688 unmodified lines | ||
| 2689 | 2689 | } |
| 2690 | 2690 | } |
| 2691 | 2691 | |
| 2692 | +bool Application::isHMDMode() const { | |
| 2693 | + if (OculusManager::isConnected()) { | |
| 2694 | + return true; | |
| 2695 | + } else { | |
| 2696 | + return false; | |
| 2697 | + } | |
| 2698 | +} | |
| 2699 | + | |
| 2692 | 2700 | ///////////////////////////////////////////////////////////////////////////////////// |
| 2693 | 2701 | // loadViewFrustum() |
| 2694 | 2702 | // |