Fixed warnings generated by GLM_COMPONENT* #113

This commit is contained in:
Christophe Riccio 2013-09-10 00:01:25 +02:00
parent c038e80e9f
commit 5c84e480bf

View File

@ -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