Code-Cleanup: All samples now use the camera class and it's matrices
Cleaned up base class
This commit is contained in:
parent
ab38f8b150
commit
48e7952fbf
4 changed files with 3 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue