diff --git a/openVulkanoCpp/Math/Pose.hpp b/openVulkanoCpp/Math/Pose.hpp index d9dbd0a..6ee6506 100644 --- a/openVulkanoCpp/Math/Pose.hpp +++ b/openVulkanoCpp/Math/Pose.hpp @@ -30,13 +30,13 @@ namespace OpenVulkano::Math Pose(const Math::Matrix4 &matrix) { - glm::vec3 scale; - glm::quat rotation; - glm::vec3 translation; - glm::vec3 skew; - glm::vec4 perspective; + Math::Vector3_SIMD scale; + Math::Quaternion rotation; + Math::Vector3_SIMD translation; + Math::Vector3_SIMD skew; + Math::Vector4_SIMD perspective; - bool decomposed = glm::decompose((glm::mat4)matrix, scale, rotation, translation, skew, perspective); + bool decomposed = Math::Utils::decompose(matrix, scale, rotation, translation, skew, perspective); if(decomposed) { m_orientation = rotation;