From bf240d7eeaa89657462b705849fde56e54e237db Mon Sep 17 00:00:00 2001 From: Frederico Linhares Date: Tue, 6 Feb 2024 17:37:20 -0300 Subject: refa Use quaternion for orientation --- src/vk/static_model.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/vk/static_model.hpp') 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 static_mesh; std::shared_ptr texture; std::vector uniform_buffers; - std::shared_ptr position, rotation; + std::shared_ptr position; + std::shared_ptr orientation; VkDescriptorPool descriptor_pool; std::vector descriptor_sets; @@ -39,7 +40,7 @@ struct StaticModel StaticModel( std::shared_ptr static_mesh, std::shared_ptr texture, std::shared_ptr position, - std::shared_ptr rotation); + std::shared_ptr orientation); ~StaticModel(); }; -- cgit v1.2.3