Skip to content

Commit

Permalink
style(core): add spacing between reflection macros
Browse files Browse the repository at this point in the history
  • Loading branch information
luishfonseca committed Sep 28, 2023
1 parent b01ce1f commit 424360c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/include/cubos/core/reflection/external/glm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

#include <cubos/core/reflection/reflect.hpp>

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);
Expand All @@ -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);
Expand All @@ -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);
2 changes: 2 additions & 0 deletions core/src/cubos/core/reflection/external/glm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);

0 comments on commit 424360c

Please sign in to comment.