summaryrefslogtreecommitdiff
path: root/src/vk/graphics_pipeline.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vk/graphics_pipeline.hpp')
-rw-r--r--src/vk/graphics_pipeline.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vk/graphics_pipeline.hpp b/src/vk/graphics_pipeline.hpp
index dffd6fb..b4a282a 100644
--- a/src/vk/graphics_pipeline.hpp
+++ b/src/vk/graphics_pipeline.hpp
@@ -22,7 +22,6 @@
#include "../command.hpp"
#include "core.hpp"
-#include "camera.hpp"
#include "command_pool.hpp"
#include "model.hpp"
#include "model_instance.hpp"
@@ -64,7 +63,8 @@ struct GraphicsPipeline
std::vector<VkSemaphore> render_finished_semaphores;
std::vector<VkFence> in_flight_fences;
- std::shared_ptr<Camera> camera;
+ std::shared_ptr<glm::vec3> camera_position;
+ std::shared_ptr<glm::vec3> camera_rotation;
std::vector<std::unordered_map<
std::shared_ptr<Model>, std::vector<ModelInstance>>>
models_to_draw;