mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 18:24:35 +00:00
Merge branch '0.9.1' into 0.9.2
This commit is contained in:
commit
7e8942759e
@ -267,7 +267,7 @@ namespace glm
|
||||
)
|
||||
{
|
||||
GLM_STATIC_ASSERT(std::numeric_limits<genIUType>::is_integer, "'bitfieldExtract' only accept integer values");
|
||||
assert(Offset + Bits <= sizeof(genIUType));
|
||||
assert(Offset + Bits <= (sizeof(genIUType) << 3));
|
||||
|
||||
genIUType Result(0);
|
||||
if(std::numeric_limits<genIUType>::is_signed)
|
||||
|
Loading…
Reference in New Issue
Block a user