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 | 77 | return _showHandControllersCount > 0; |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | +void HMDScriptingInterface::closeTablet() { | |
| 81 | + _showTablet = false; | |
| 82 | +} | |
| 83 | + | |
| 80 | 84 | QScriptValue HMDScriptingInterface::getHUDLookAtPosition2D(QScriptContext* context, QScriptEngine* engine) { |
| 81 | 85 | glm::vec3 hudIntersection; |
| 82 | 86 | auto instance = DependencyManager::get<HMDScriptingInterface>(); |