History

refining the avatar display name rendering with different behavior if in HMD mode or not

dev committed 11 years ago

Commit fc54ad91 parent c2adc623 files · +35 −13Browse files

Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all

Unified · Split

interface/src/Application.cpp+8−0
@@ -2673,6 +2673,14 @@ void Application::queryOctree(NodeType_t serverType, PacketType packetType, Node · 2672 unmodified lines
26732673 }
26742674 }
26752675
2676+bool Application::isHMDMode() const {
2677+ if (OculusManager::isConnected()) {
2678+ return true;
2679+ } else {
2680+ return false;
2681+ }
2682+}
2683+
26762684 /////////////////////////////////////////////////////////////////////////////////////
26772685 // loadViewFrustum()
26782686 //