From 1d9a8028e407228157d4b3b38310a63d1bed312f Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 5 Aug 2018 19:04:40 +0200 Subject: [PATCH] Reduced exposed API, reduced included dependencies --- glm/gtc/quaternion.hpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/glm/gtc/quaternion.hpp b/glm/gtc/quaternion.hpp index e4d16b9f..87ed95a0 100644 --- a/glm/gtc/quaternion.hpp +++ b/glm/gtc/quaternion.hpp @@ -14,10 +14,10 @@ #pragma once // Dependency: -#include "../mat3x3.hpp" -#include "../mat4x4.hpp" -#include "../vec3.hpp" -#include "../vec4.hpp" +#include "../detail/type_mat3x3.hpp" +#include "../detail/type_mat4x4.hpp" +#include "../detail/type_vec3.hpp" +#include "../detail/type_vec4.hpp" #include "../ext/vector_relational.hpp" #include "../gtc/constants.hpp" #include "../gtc/matrix_transform.hpp" @@ -46,6 +46,8 @@ namespace glm { struct { T x, y, z, w;}; }; + + typename detail::storage<4, T, detail::is_aligned::value>::type data; # else T x, y, z, w; # endif