Browse Source

Minor change

Panagiotis Christopoulos Charitos 3 years ago
parent
commit
80440a0f7f
1 changed files with 2 additions and 12 deletions
  1. 2 12
      Samples/Common/SampleApp.cpp

+ 2 - 12
Samples/Common/SampleApp.cpp

@@ -214,12 +214,12 @@ Error SampleApp::userMainLoop(Bool& quit, Second elapsedTime)
 			mover->moveLocalX(moveDistance);
 			mover->moveLocalX(moveDistance);
 		}
 		}
 
 
-		if(in.getKey(KeyCode::C))
+		if(in.getKey(KeyCode::Q))
 		{
 		{
 			mover->moveLocalY(-moveDistance);
 			mover->moveLocalY(-moveDistance);
 		}
 		}
 
 
-		if(in.getKey(KeyCode::SPACE))
+		if(in.getKey(KeyCode::E))
 		{
 		{
 			mover->moveLocalY(moveDistance);
 			mover->moveLocalY(moveDistance);
 		}
 		}
@@ -234,16 +234,6 @@ Error SampleApp::userMainLoop(Bool& quit, Second elapsedTime)
 			mover->moveLocalZ(moveDistance);
 			mover->moveLocalZ(moveDistance);
 		}
 		}
 
 
-		if(in.getKey(KeyCode::Q))
-		{
-			mover->rotateLocalZ(ROTATE_ANGLE);
-		}
-
-		if(in.getKey(KeyCode::E))
-		{
-			mover->rotateLocalZ(-ROTATE_ANGLE);
-		}
-
 		if(in.getKey(KeyCode::F12) == 1 && ANKI_ENABLE_TRACE)
 		if(in.getKey(KeyCode::F12) == 1 && ANKI_ENABLE_TRACE)
 		{
 		{
 			TracerSingleton::get().setEnabled(!TracerSingleton::get().getEnabled());
 			TracerSingleton::get().setEnabled(!TracerSingleton::get().getEnabled());