mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
Add "Q" / "E" as freelook keybindings
To move the view up and down.
This commit is contained in:
@ -619,10 +619,10 @@ void VertexShaderManager::SetMaterialColorChanged(int index)
|
||||
nMaterialsChanged |= (1 << index);
|
||||
}
|
||||
|
||||
void VertexShaderManager::TranslateView(float x, float y)
|
||||
void VertexShaderManager::TranslateView(float x, float y, float z)
|
||||
{
|
||||
float result[3];
|
||||
float vector[3] = { x,0,y };
|
||||
float vector[3] = { x,z,y };
|
||||
|
||||
Matrix33::Multiply(s_viewInvRotationMatrix, vector, result);
|
||||
|
||||
|
Reference in New Issue
Block a user