mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
Fixed static assert
This commit is contained in:
parent
d49148564a
commit
a422706f1e
@ -390,7 +390,7 @@ namespace glm
|
|||||||
template <typename genIUType>
|
template <typename genIUType>
|
||||||
GLM_FUNC_QUALIFIER genIUType bitfieldReverse(genIUType const & Value)
|
GLM_FUNC_QUALIFIER genIUType bitfieldReverse(genIUType const & Value)
|
||||||
{
|
{
|
||||||
GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_integer, "'bitRevert' only accept integer values");
|
GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'bitfieldReverse' only accept integer values");
|
||||||
|
|
||||||
genIUType Out = 0;
|
genIUType Out = 0;
|
||||||
std::size_t BitSize = sizeof(genIUType) * 8;
|
std::size_t BitSize = sizeof(genIUType) * 8;
|
||||||
|
Loading…
Reference in New Issue
Block a user