Code-Cleanup: All samples now use the camera class and it's matrices

Cleaned up base class
This commit is contained in:
Sascha Willems 2020-04-22 21:01:17 +02:00
parent ab38f8b150
commit 48e7952fbf
4 changed files with 3 additions and 5 deletions

View file

@ -120,7 +120,6 @@ public:
camera.setPerspective(45.0f, (float)width / (float)height, zNear, zFar);
camera.setRotation(glm::vec3(-20.5f, -673.0f, 0.0f));
camera.setPosition(glm::vec3(0.0f, 0.0f, -175.0f));
zoomSpeed = 10.0f;
timerSpeed *= 0.25f;
}