Further optimized glm::sign for signed and unsigned int #271

This commit is contained in:
Christophe Riccio
2014-11-21 23:43:48 +01:00
parent f98f2b107a
commit 38161f01f8
3 changed files with 37 additions and 2 deletions

View File

@@ -844,6 +844,8 @@ namespace sign
{
type<glm::int32> const Data[] =
{
{ std::numeric_limits<glm::int32>::max(), 1},
{ std::numeric_limits<glm::int32>::min(), -1},
{ 0, 0},
{ 1, 1},
{ 2, 1},