From 5c84e480bf66f2f0775f9fe8507e7ef1c5318e78 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Tue, 10 Sep 2013 00:01:25 +0200 Subject: [PATCH] Fixed warnings generated by GLM_COMPONENT* #113 --- glm/core/type_vec1.hpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/glm/core/type_vec1.hpp b/glm/core/type_vec1.hpp index 2cba334a..b8fb5587 100644 --- a/glm/core/type_vec1.hpp +++ b/glm/core/type_vec1.hpp @@ -49,11 +49,7 @@ namespace detail ////////////////////////////////////// // Data -# if(GLM_COMPONENT == GLM_COMPONENT_ONLY_XYZW) - T x; -# else//(GLM_COMPONENT == GLM_COMPONENT_GLSL_NAMES) - union {T x, r, s;}; -# endif//GLM_COMPONENT + union {T x, r, s;}; ////////////////////////////////////// // Accesses