This commit is contained in:
Christophe Riccio 2014-11-15 21:37:59 +01:00
parent 45645988e9
commit 30e7eaeb86

View File

@ -112,26 +112,10 @@ namespace detail
# endif//GLM_SWIZZLE
};
# else
/*
# if GLM_HAS_UNRESTRICTED_UNIONS
union
{
typename detail::simd<T>::type data;
struct
{
union { T x, r, s; };
union { T y, g, t; };
union { T z, b, p; };
union { T w, a, q; };
};
};
# else
*/
union { T x, r, s; };
union { T y, g, t; };
union { T z, b, p; };
union { T w, a, q; };
//s# endif
# ifdef GLM_SWIZZLE
GLM_SWIZZLE_GEN_VEC_FROM_VEC4(T, P, tvec4, tvec2, tvec3, tvec4)