History

FinalOrientation -> FinalOrientationInWorldFrame

Andrew Meadows committed 12 years ago

Commit d3f51fe1 parent a1afcfd5 files · +16 −8Browse files

Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all

Unified · Split

interface/src/Application.cpp+2−1
@@ -1841,7 +1841,8 @@ void Application::updateMyAvatarLookAtPosition() { · 1840 unmodified lines
1841 }1841 }
1842 } else {1842 } else {
1843 // I am not looking at anyone else, so just look forward1843 // 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 // TODO: Add saccade to mouse pointer when stable, IF not looking at someone (since we know we are looking at it)1847 // TODO: Add saccade to mouse pointer when stable, IF not looking at someone (since we know we are looking at it)
1847 /*1848 /*

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t