[Change] Uh.. Nothing. Really..
This commit is contained in:
parent
1a62fd07f7
commit
130c328d2e
@ -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