Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all
Unified · Split
| @@ -1841,7 +1841,8 @@ void Application::updateMyAvatarLookAtPosition() { · 1840 unmodified lines | ||
| 1841 | 1841 | } |
| 1842 | 1842 | } else { |
| 1843 | 1843 | // I am not looking at anyone else, so just look forward |
| 1844 | − lookAtSpot = _myAvatar->getHead()->calculateAverageEyePosition() + (_myAvatar->getHead()->getFinalOrientation() * glm::vec3(0.f, 0.f, -TREE_SCALE)); | |
| 1844 | + lookAtSpot = _myAvatar->getHead()->calculateAverageEyePosition() + | |
| 1845 | + (_myAvatar->getHead()->getFinalOrientationInWorldFrame() * glm::vec3(0.f, 0.f, -TREE_SCALE)); | |
| 1845 | 1846 | } |
| 1846 | 1847 | // TODO: Add saccade to mouse pointer when stable, IF not looking at someone (since we know we are looking at it) |
| 1847 | 1848 | /* |