diff options
Diffstat (limited to 'src/vk/static_model.hpp')
-rw-r--r-- | src/vk/static_model.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vk/static_model.hpp b/src/vk/static_model.hpp index 08c68c8..72f4fac 100644 --- a/src/vk/static_model.hpp +++ b/src/vk/static_model.hpp @@ -31,7 +31,8 @@ struct StaticModel std::shared_ptr<StaticMesh> static_mesh; std::shared_ptr<Texture> texture; std::vector<UniformBuffer> uniform_buffers; - std::shared_ptr<glm::vec3> position, rotation; + std::shared_ptr<glm::vec3> position; + std::shared_ptr<glm::quat> orientation; VkDescriptorPool descriptor_pool; std::vector<VkDescriptorSet> descriptor_sets; @@ -39,7 +40,7 @@ struct StaticModel StaticModel( std::shared_ptr<StaticMesh> static_mesh, std::shared_ptr<Texture> texture, std::shared_ptr<glm::vec3> position, - std::shared_ptr<glm::vec3> rotation); + std::shared_ptr<glm::quat> orientation); ~StaticModel(); }; |