mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Clean up
This commit is contained in:
parent
45645988e9
commit
30e7eaeb86
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user