Showing the changes to interface/src/scripting/HMDScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -77,6 +77,10 @@ bool HMDScriptingInterface::shouldShowHandControllers() const { · 76 unmodified lines | |||
| 77 | return _showHandControllersCount > 0; | 77 | return _showHandControllersCount > 0; |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | void HMDScriptingInterface::closeTablet() { | ||
| 81 | _showTablet = false; | ||
| 82 | } | ||
| 83 | |||
| 80 | QScriptValue HMDScriptingInterface::getHUDLookAtPosition2D(QScriptContext* context, QScriptEngine* engine) { | 84 | QScriptValue HMDScriptingInterface::getHUDLookAtPosition2D(QScriptContext* context, QScriptEngine* engine) { |
| 81 | glm::vec3 hudIntersection; | 85 | glm::vec3 hudIntersection; |
| 82 | auto instance = DependencyManager::get<HMDScriptingInterface>(); | 86 | auto instance = DependencyManager::get<HMDScriptingInterface>(); |