a5 adjustments
This commit is contained in:
parent
55b882af52
commit
c16053eb6d
2 changed files with 3 additions and 3 deletions
|
@ -95,8 +95,8 @@ void Camera::ReadInput(float _dt)
|
|||
if (input.KeyDown('S')) moveLong -= 1.0f;
|
||||
if (input.KeyDown('D')) moveLat += 1.0f;
|
||||
if (input.KeyDown('A')) moveLat -= 1.0f;
|
||||
if (input.KeyDown('E')) moveVert += 1.0f;
|
||||
if (input.KeyDown('Q')) moveVert -= 1.0f;
|
||||
if (input.KeyDown(VK_SPACE)) moveVert += 1.0f;
|
||||
if (input.KeyDown('X')) moveVert -= 1.0f;
|
||||
if (input.KeyDown(VK_SHIFT)) modify *= 2.0f;
|
||||
if (input.KeyDown(VK_CONTROL)) modify /= 2.0f;
|
||||
|
||||
|
|
2
Game.cpp
2
Game.cpp
|
@ -33,7 +33,7 @@ Game::Game(HINSTANCE hInstance)
|
|||
CreateConsoleWindow(500, 120, 32, 120);
|
||||
printf("Console window created successfully. Feel free to printf() here.\n");
|
||||
#endif
|
||||
camera = std::make_shared<Camera>(0.0f, 0.0f, -1.0f, (float)width / height, 70, 0.01f, 1000.0f);
|
||||
camera = std::make_shared<Camera>(0.0f, 0.0f, -4.0f, (float)width / height, 60, 0.01f, 1000.0f);
|
||||
}
|
||||
|
||||
// --------------------------------------------------------
|
||||
|
|
Reference in a new issue