Fixed typo

This commit is contained in:
Nouri Khalass 2017-01-21 20:46:11 +01:00
parent a3a8f84f6b
commit 21b9096428

View File

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