Showing the changes to interface/src/scripting/HMDScriptingInterface.cpp (1 of 7 files). Show all
Unified · Split
| @@ -38,16 +38,6 @@ glm::vec2 HMDScriptingInterface::overlayToSpherical(const glm::vec2 & position) · 37 unmodified lines | |||
| 38 | return qApp->getApplicationCompositor().overlayToSpherical(position); | 38 | return qApp->getApplicationCompositor().overlayToSpherical(position); |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | glm::vec2 HMDScriptingInterface::screenToOverlay(const glm::vec2 & position) const { | ||
| 42 | return qApp->getApplicationCompositor().screenToOverlay(position); | ||
| 43 | } | ||
| 44 | |||
| 45 | glm::vec2 HMDScriptingInterface::overlayToScreen(const glm::vec2 & position) const { | ||
| 46 | return qApp->getApplicationCompositor().overlayToScreen(position); | ||
| 47 | } | ||
| 48 | |||
| 49 | |||
| 50 | |||
| 51 | QScriptValue HMDScriptingInterface::getHUDLookAtPosition2D(QScriptContext* context, QScriptEngine* engine) { | 41 | QScriptValue HMDScriptingInterface::getHUDLookAtPosition2D(QScriptContext* context, QScriptEngine* engine) { |
| 52 | glm::vec3 hudIntersection; | 42 | glm::vec3 hudIntersection; |
| 53 | auto instance = DependencyManager::get<HMDScriptingInterface>(); | 43 | auto instance = DependencyManager::get<HMDScriptingInterface>(); |