mirror of
https://github.com/g-truc/glm.git
synced 2025-04-07 14:29:16 +00:00
Clean up
This commit is contained in:
parent
45645988e9
commit
30e7eaeb86
1 changed files with 5 additions and 21 deletions
|
@ -112,27 +112,11 @@ 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
|
||||
|
||||
union { T x, r, s; };
|
||||
union { T y, g, t; };
|
||||
union { T z, b, p; };
|
||||
union { T w, a, q; };
|
||||
|
||||
# ifdef GLM_SWIZZLE
|
||||
GLM_SWIZZLE_GEN_VEC_FROM_VEC4(T, P, tvec4, tvec2, tvec3, tvec4)
|
||||
# endif//GLM_SWIZZLE
|
||||
|
|
Loading…
Add table
Reference in a new issue