From 6716aded6309f8c7dd7b0199c2410c11b943c6ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Fonseca?= Date: Thu, 28 Sep 2023 15:38:47 +0100 Subject: [PATCH] style(core): add spacing between reflection macros --- core/include/cubos/core/reflection/external/glm.hpp | 6 ++++-- core/src/cubos/core/reflection/external/glm.cpp | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/include/cubos/core/reflection/external/glm.hpp b/core/include/cubos/core/reflection/external/glm.hpp index 039b5c16a..e1711eabe 100644 --- a/core/include/cubos/core/reflection/external/glm.hpp +++ b/core/include/cubos/core/reflection/external/glm.hpp @@ -8,8 +8,6 @@ #include -CUBOS_REFLECT_EXTERNAL_DECL(glm::quat); -CUBOS_REFLECT_EXTERNAL_DECL(glm::dquat); CUBOS_REFLECT_EXTERNAL_DECL(glm::mat2); CUBOS_REFLECT_EXTERNAL_DECL(glm::dmat2); CUBOS_REFLECT_EXTERNAL_DECL(glm::mat2x3); @@ -28,6 +26,7 @@ CUBOS_REFLECT_EXTERNAL_DECL(glm::mat4x3); CUBOS_REFLECT_EXTERNAL_DECL(glm::dmat4x3); CUBOS_REFLECT_EXTERNAL_DECL(glm::mat4); CUBOS_REFLECT_EXTERNAL_DECL(glm::dmat4); + CUBOS_REFLECT_EXTERNAL_DECL(glm::vec2); CUBOS_REFLECT_EXTERNAL_DECL(glm::bvec2); CUBOS_REFLECT_EXTERNAL_DECL(glm::dvec2); @@ -43,3 +42,6 @@ CUBOS_REFLECT_EXTERNAL_DECL(glm::dvec4); CUBOS_REFLECT_EXTERNAL_DECL(glm::bvec4); CUBOS_REFLECT_EXTERNAL_DECL(glm::ivec4); CUBOS_REFLECT_EXTERNAL_DECL(glm::uvec4); + +CUBOS_REFLECT_EXTERNAL_DECL(glm::quat); +CUBOS_REFLECT_EXTERNAL_DECL(glm::dquat); diff --git a/core/src/cubos/core/reflection/external/glm.cpp b/core/src/cubos/core/reflection/external/glm.cpp index 8ccc8f577..b184545ec 100644 --- a/core/src/cubos/core/reflection/external/glm.cpp +++ b/core/src/cubos/core/reflection/external/glm.cpp @@ -73,6 +73,7 @@ AUTO_IMPL_MAT(glm::mat4x3, "glm::mat4x3", glm::vec3, AUTO_MAT4); AUTO_IMPL_MAT(glm::dmat4x3, "glm::dmat4x3", glm::dvec3, AUTO_MAT4); AUTO_IMPL_MAT(glm::mat4, "glm::mat4", glm::vec4, AUTO_MAT4); AUTO_IMPL_MAT(glm::dmat4, "glm::dmat4", glm::dvec4, AUTO_MAT4); + AUTO_IMPL_VEC(glm::vec2, "glm::vec2", AUTO_VEC2); AUTO_IMPL_VEC(glm::bvec2, "glm::bvec2", AUTO_VEC2); AUTO_IMPL_VEC(glm::dvec2, "glm::dvec2", AUTO_VEC2); @@ -88,5 +89,6 @@ AUTO_IMPL_VEC(glm::dvec4, "glm::dvec4", AUTO_VEC4); AUTO_IMPL_VEC(glm::bvec4, "glm::bvec4", AUTO_VEC4); AUTO_IMPL_VEC(glm::ivec4, "glm::ivec4", AUTO_VEC4); AUTO_IMPL_VEC(glm::uvec4, "glm::uvec4", AUTO_VEC4); + AUTO_IMPL_VEC(glm::quat, "glm::quat", AUTO_VEC4); AUTO_IMPL_VEC(glm::dquat, "glm::dquat", AUTO_VEC4);