History

removed old cruft around mousePitch in Head and unified pitch

ZappoMan committed 12 years ago

Commit b36cc0b1 parent ecd24776 files · +16 −40Browse files

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

Unified · Split

interface/src/Application.cpp+1−4
@@ -2404,10 +2404,7 @@ void Application::updateAvatar(float deltaTime) { · 2403 unmodified lines
24042404 _yawFromTouch = 0.f;
24052405
24062406 // apply pitch from touch
2407− _myAvatar.getHead().setMousePitch(_myAvatar.getHead().getMousePitch() +
2408− _myAvatar.getHand().getPitchUpdate() +
2409− _pitchFromTouch);
2410− _myAvatar.getHand().setPitchUpdate(0.f);
2407+ _myAvatar.getHead().setPitch(_myAvatar.getHead().getPitch() + _pitchFromTouch);
24112408 _pitchFromTouch = 0.0f;
24122409
24132410 // Update my avatar's state from gyros

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