a5 adjustments

This commit is contained in:
lightling 2022-02-27 11:42:18 -05:00
parent 55b882af52
commit c16053eb6d
Signed by: lightling
GPG key ID: 016F11E0AA296B67
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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);
}
// --------------------------------------------------------