diff --git a/src/sbre_viewer.cpp b/src/sbre_viewer.cpp
index 5d8789c..b9b31fb 100644
--- a/src/sbre_viewer.cpp
+++ b/src/sbre_viewer.cpp
@@ -163,10 +163,10 @@ void Viewer::MainLoop(void) {
   for(;;) {
     PollEvents();
 
-    if(g_keyState[SDLK_UP]) rot     = matrix4x4d::RotateXMatrix(g_frameTime)  * rot;
-    if(g_keyState[SDLK_DOWN]) rot   = matrix4x4d::RotateXMatrix(-g_frameTime) * rot;
-    if(g_keyState[SDLK_LEFT]) rot   = matrix4x4d::RotateYMatrix(g_frameTime)  * rot;
-    if(g_keyState[SDLK_RIGHT]) rot  = matrix4x4d::RotateYMatrix(-g_frameTime) * rot;
+    if(g_keyState[SDLK_UP])     rot = matrix4x4d::RotateXMatrix(g_frameTime)  * rot;
+    if(g_keyState[SDLK_DOWN])   rot = matrix4x4d::RotateXMatrix(-g_frameTime) * rot;
+    if(g_keyState[SDLK_LEFT])   rot = matrix4x4d::RotateYMatrix(g_frameTime)  * rot;
+    if(g_keyState[SDLK_RIGHT])  rot = matrix4x4d::RotateYMatrix(-g_frameTime) * rot;
     if(g_keyState[SDLK_EQUALS]) distance *= pow(0.5, g_frameTime);
     if(g_keyState[SDLK_MINUS])  distance *= pow(2.0, g_frameTime);
     if(g_mouseButton[1] || g_mouseButton[3]) {