History

Removed pointless 1.0f

barnold1953 committed 12 years ago

Commit 036bdf51 parent 611c68d1 file · +2 −2Browse files

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

Unified · Split

interface/src/Application.cpp+2−2
@@ -1008,10 +1008,10 @@ void Application::keyPressEvent(QKeyEvent* event) { · 1007 unmodified lines
10081008 Menu::getInstance()->goTo();
10091009 break;
10101010 case Qt::Key_B:
1011− _applicationOverlay.setOculusAngle(_applicationOverlay.getOculusAngle() - 1.0f*RADIANS_PER_DEGREE);
1011+ _applicationOverlay.setOculusAngle(_applicationOverlay.getOculusAngle() - RADIANS_PER_DEGREE);
10121012 break;
10131013 case Qt::Key_N:
1014− _applicationOverlay.setOculusAngle(_applicationOverlay.getOculusAngle() + 1.0f*RADIANS_PER_DEGREE);
1014+ _applicationOverlay.setOculusAngle(_applicationOverlay.getOculusAngle() + RADIANS_PER_DEGREE);
10151015 break;
10161016 default:
10171017 event->ignore();

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