From 6ec40f31291e9c0aa260709cc817ee139c8b3715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Fonseca?= Date: Thu, 28 Sep 2023 17:37:00 +0100 Subject: [PATCH] fix(core): use quaternion constructor in tests --- core/tests/reflection/external/glm.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/tests/reflection/external/glm.cpp b/core/tests/reflection/external/glm.cpp index fb2dcf0bca..f0ae4455d7 100644 --- a/core/tests/reflection/external/glm.cpp +++ b/core/tests/reflection/external/glm.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #include #include @@ -168,6 +169,6 @@ TEST_CASE("reflection::reflect<(glm)>()") testVec("glm::dvec4", glm::dvec4{1.2, 3.4, 5.6, 7.8}); testVec("glm::ivec4", glm::ivec4{4, 3, 2, 1}); - testQuat("glm::quat", glm::quat{0.1F, 0.05F, 0.025F, 0.0125F}); - testQuat("glm::dquat", glm::dquat{1.0, 0.5, 0.25, 0.125}); + testQuat("glm::quat", glm::quat(0.1F, 0.05F, 0.025F, 0.0125F)); + testQuat("glm::dquat", glm::dquat(1.0, 0.5, 0.25, 0.125)); }