Add "Q" / "E" as freelook keybindings

To move the view up and down.
This commit is contained in:
Jasper St. Pierre
2013-07-22 00:14:42 -04:00
parent 52482115e1
commit 3c7f223aa1
3 changed files with 9 additions and 3 deletions

View File

@ -936,6 +936,12 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
case 'D':
VertexShaderManager::TranslateView(-debugSpeed, 0.0f);
break;
case 'Q':
VertexShaderManager::TranslateView(0.0f, 0.0f, debugSpeed);
break;
case 'E':
VertexShaderManager::TranslateView(0.0f, 0.0f, -debugSpeed);
break;
case 'R':
VertexShaderManager::ResetView();
break;