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

@ -586,11 +586,11 @@ public:
VulkanExample() : VulkanExampleBase(ENABLE_VALIDATION)
{
title = "Multi-part scene rendering";
rotationSpeed = 0.5f;
camera.type = Camera::CameraType::firstperson;
camera.movementSpeed = 7.5f;
camera.position = { 15.0f, -13.5f, 0.0f };
camera.setRotation(glm::vec3(5.0f, 90.0f, 0.0f));
camera.setRotationSpeed(0.5f);
camera.setPerspective(60.0f, (float)width / (float)height, 0.1f, 256.0f);
settings.overlay = true;
}