History

added back getUprightEyeLevelPosition()

ZappoMan committed 13 years ago

Commit ce937241 parent b998d6b3 files · +8 −1Browse files

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

Unified · Split

interface/src/Application.cpp+1−1
@@ -406,7 +406,7 @@ void Application::paintGL() { · 405 unmodified lines
406406
407407 } else if (_myCamera.getMode() == CAMERA_MODE_FIRST_PERSON) {
408408 _myCamera.setTightness(0.0f); // In first person, camera follows head exactly without delay
409− _myCamera.setTargetPosition(_myAvatar.getEyePosition());
409+ _myCamera.setTargetPosition(_myAvatar.getUprightEyeLevelPosition());
410410 _myCamera.setTargetRotation(_myAvatar.getHead().getCameraOrientation());
411411
412412 } else if (_myCamera.getMode() == CAMERA_MODE_THIRD_PERSON) {

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