Code-Cleanup: All samples now use the camera class and it's matrices
Cleaned up base class
This commit is contained in:
parent
27d5abc038
commit
ab38f8b150
42 changed files with 234 additions and 396 deletions
|
|
@ -20,7 +20,6 @@
|
|||
#include <glm/gtc/matrix_inverse.hpp>
|
||||
|
||||
#include "vulkan/vulkan.h"
|
||||
|
||||
#include "VulkanTools.h"
|
||||
#include "VulkanDevice.hpp"
|
||||
#include "VulkanBuffer.hpp"
|
||||
|
|
@ -92,7 +91,7 @@ public:
|
|||
VkDescriptorSet descriptorSet;
|
||||
|
||||
void draw(VkCommandBuffer cmdbuffer, VkPipelineLayout pipelineLayout);
|
||||
void updateUniformBuffer(glm::mat4 perspective, glm::vec3 rotation, float zoom, float timer);
|
||||
void updateUniformBuffer(glm::mat4 perspective, glm::mat4 view, float timer);
|
||||
|
||||
void setupDescriptorSet(VkDescriptorPool pool, VkDescriptorSetLayout descriptorSetLayout);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue