From 0acc67df40a7abd005d4a4282f253dfe207bdf5c Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sun, 19 Oct 2014 18:28:53 +0200 Subject: [PATCH] Hide into detail namespace SIMD internal --- glm/detail/type_vec4.hpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/glm/detail/type_vec4.hpp b/glm/detail/type_vec4.hpp index 60643b52..01e85328 100644 --- a/glm/detail/type_vec4.hpp +++ b/glm/detail/type_vec4.hpp @@ -40,7 +40,8 @@ #endif //GLM_SWIZZLE #include -namespace glm +namespace glm{ +namespace detail { template struct simd @@ -63,7 +64,8 @@ namespace glm typedef __m256d type; }; # endif - +}//namespace detail + template struct tvec4 { @@ -92,7 +94,7 @@ namespace glm # if GLM_HAS_ANONYMOUS_UNION union { - typename simd::type data; + typename detail::simd::type data; struct { T r, g, b, a; }; struct { T s, t, p, q; }; struct { T x, y, z, w;}; @@ -113,7 +115,7 @@ namespace glm # if GLM_HAS_UNRESTRICTED_UNIONS union { - typename simd::type data; + typename detail::simd::type data; struct { union { T x, r, s; };