Fixed shadows template parameter warnings
This commit is contained in:
parent
8624e38379
commit
a8784e7518
@ -87,8 +87,8 @@ namespace glm
|
|||||||
|
|
||||||
GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec() GLM_DEFAULT;
|
GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec() GLM_DEFAULT;
|
||||||
GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec const& v) GLM_DEFAULT;
|
GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec const& v) GLM_DEFAULT;
|
||||||
template<qualifier Q>
|
template<qualifier P>
|
||||||
GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<1, T, Q> const& v);
|
GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<1, T, P> const& v);
|
||||||
|
|
||||||
// -- Explicit basic constructors --
|
// -- Explicit basic constructors --
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ namespace glm
|
|||||||
union
|
union
|
||||||
{
|
{
|
||||||
struct { T x, y, z, w;};
|
struct { T x, y, z, w;};
|
||||||
typename detail::storage<T, sizeof(T) * 4, detail::is_aligned<P>::value>::type data;
|
typename detail::storage<T, sizeof(T) * 4, detail::is_aligned<Q>::value>::type data;
|
||||||
};
|
};
|
||||||
|
|
||||||
# if GLM_COMPILER & GLM_COMPILER_CLANG
|
# if GLM_COMPILER & GLM_COMPILER_CLANG
|
||||||
|
Loading…
Reference in New Issue
Block a user