Fixed warnings generated by GLM_COMPONENT* #113

master
Christophe Riccio ago%!(EXTRA string=12 years)
parent c038e80e9f
commit 5c84e480bf
  1. 4
      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
//////////////////////////////////////
// Accesses

Loading…
Cancel
Save