mirror of
https://github.com/g-truc/glm.git
synced 2024-11-12 21:31:47 +00:00
Tentative fix build
This commit is contained in:
parent
29987a3100
commit
163f0d162d
@ -178,7 +178,7 @@ namespace detail
|
|||||||
{
|
{
|
||||||
GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'prevPowerOfTwo' only accept integer inputs");
|
GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'prevPowerOfTwo' only accept integer inputs");
|
||||||
|
|
||||||
return isPowerOfTwo(value) ? value : static_cast<genIUType>(1) << static_cast<genIUType>(findMSB(value));
|
return isPowerOfTwo(value) ? value : static_cast<genIUType>(static_cast<genIUType>(1) << static_cast<genIUType>(findMSB(value)));
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename genIUType>
|
template<typename genIUType>
|
||||||
|
@ -645,12 +645,12 @@ namespace findNSB
|
|||||||
Error += run<glm::uint16>();
|
Error += run<glm::uint16>();
|
||||||
Error += run<glm::uint32>();
|
Error += run<glm::uint32>();
|
||||||
Error += run<glm::uint64>();
|
Error += run<glm::uint64>();
|
||||||
/*
|
|
||||||
Error += run<glm::int8>();
|
Error += run<glm::int8>();
|
||||||
Error += run<glm::int16>();
|
Error += run<glm::int16>();
|
||||||
Error += run<glm::int32>();
|
Error += run<glm::int32>();
|
||||||
Error += run<glm::int64>();
|
Error += run<glm::int64>();
|
||||||
*/
|
|
||||||
return Error;
|
return Error;
|
||||||
}
|
}
|
||||||
}//namespace findNSB
|
}//namespace findNSB
|
||||||
|
@ -507,6 +507,27 @@ namespace findNSB
|
|||||||
Error += run<3, glm::uint64>();
|
Error += run<3, glm::uint64>();
|
||||||
Error += run<4, glm::uint64>();
|
Error += run<4, glm::uint64>();
|
||||||
|
|
||||||
|
Error += run<1, glm::int8>();
|
||||||
|
Error += run<2, glm::int8>();
|
||||||
|
Error += run<3, glm::int8>();
|
||||||
|
Error += run<4, glm::int8>();
|
||||||
|
|
||||||
|
Error += run<1, glm::int16>();
|
||||||
|
Error += run<2, glm::int16>();
|
||||||
|
Error += run<3, glm::int16>();
|
||||||
|
Error += run<4, glm::int16>();
|
||||||
|
|
||||||
|
Error += run<1, glm::int32>();
|
||||||
|
Error += run<2, glm::int32>();
|
||||||
|
Error += run<3, glm::int32>();
|
||||||
|
Error += run<4, glm::int32>();
|
||||||
|
|
||||||
|
Error += run<1, glm::int64>();
|
||||||
|
Error += run<2, glm::int64>();
|
||||||
|
Error += run<3, glm::int64>();
|
||||||
|
Error += run<4, glm::int64>();
|
||||||
|
|
||||||
|
|
||||||
return Error;
|
return Error;
|
||||||
}
|
}
|
||||||
}//namespace findNSB
|
}//namespace findNSB
|
||||||
|
Loading…
Reference in New Issue
Block a user