master
Christophe Riccio ago%!(EXTRA string=8 years)
parent e8e8d3607c
commit ec5b3fd897
  1. 2
      glm/detail/func_common.inl

@ -195,7 +195,7 @@ namespace detail
GLM_FUNC_QUALIFIER static vec<L, T, Q> call(vec<L, T, Q> const& x)
{
T const Shift(static_cast<T>(sizeof(T) * 8 - 1));
vec<L, T, Q> const y(vec<L, typename make_unsigned<T>::type, P>(-x) >> typename make_unsigned<T>::type(Shift));
vec<L, T, Q> const y(vec<L, typename make_unsigned<T>::type, Q>(-x) >> typename make_unsigned<T>::type(Shift));
return (x >> Shift) | y;
}

Loading…
Cancel
Save