mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fixed warnings generated by GLM_COMPONENT* #113
This commit is contained in:
parent
c038e80e9f
commit
5c84e480bf
@ -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
|
||||
union {T x, r, s;};
|
||||
|
||||
//////////////////////////////////////
|
||||
// Accesses
|
||||
|
Loading…
Reference in New Issue
Block a user