Showing the changes to interface/src/scripting/HMDScriptingInterface.cpp (1 of 13 files). Show all
Unified · Split
| @@ -79,7 +79,7 @@ bool HMDScriptingInterface::getHUDLookAtPosition3D(glm::vec3& result) const { · 78 unmodified lines | ||
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | glm::mat4 HMDScriptingInterface::getWorldHMDMatrix() const { |
| 82 | − MyAvatar* myAvatar = DependencyManager::get<AvatarManager>()->getMyAvatar(); | |
| 82 | + auto myAvatar = DependencyManager::get<AvatarManager>()->getMyAvatar(); | |
| 83 | 83 | return myAvatar->getSensorToWorldMatrix() * myAvatar->getHMDSensorMatrix(); |
| 84 | 84 | } |
| 85 | 85 | |