mirror of
https://github.com/g-truc/glm.git
synced 2024-11-30 03:44:38 +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
|
// Data
|
||||||
|
|
||||||
# if(GLM_COMPONENT == GLM_COMPONENT_ONLY_XYZW)
|
union {T x, r, s;};
|
||||||
T x;
|
|
||||||
# else//(GLM_COMPONENT == GLM_COMPONENT_GLSL_NAMES)
|
|
||||||
union {T x, r, s;};
|
|
||||||
# endif//GLM_COMPONENT
|
|
||||||
|
|
||||||
//////////////////////////////////////
|
//////////////////////////////////////
|
||||||
// Accesses
|
// Accesses
|
||||||
|
Loading…
Reference in New Issue
Block a user