mirror of
https://github.com/g-truc/glm.git
synced 2025-04-07 06:25:00 +00:00
Merge pull request #28 from mackron/QuatWarningFix
Fix a -Wswitch-default warning in GCC.
This commit is contained in:
commit
06b1578117
1 changed files with 4 additions and 0 deletions
|
@ -707,6 +707,10 @@ namespace detail
|
|||
Result.y = (m[1][2] + m[2][1]) * mult;
|
||||
Result.z = biggestVal;
|
||||
break;
|
||||
|
||||
default: // Silence a -Wswitch-default warning in GCC. Should never actually get here. Assert is just for sanity.
|
||||
assert(false);
|
||||
break;
|
||||
}
|
||||
return Result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue