[Change] Uh.. Nothing. Really..
This commit is contained in:
parent
014be1fef2
commit
b68f40a74a
@ -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]) {
|
||||
|
Loading…
Reference in New Issue
Block a user