This commit is contained in:
Christophe Riccio 2015-10-07 21:06:01 +02:00
parent b7ee25e227
commit d0c57e7afd
3 changed files with 236 additions and 236 deletions

6
.gitignore vendored
View File

@ -36,11 +36,11 @@ install_manifest.txt
*.cmake
# ^ May need to add future .cmake files as exceptions
# Test output
# Test logs
Testing/*
test/*/test-*
# Test input
test/gtc/*.dds
glm/glm_dummy
# Project Files
*.cbp

View File

@ -79,7 +79,7 @@ namespace detail
{
floatType const Min = static_cast<floatType>(std::numeric_limits<T>::min());
floatType const Max = static_cast<floatType>(std::numeric_limits<T>::max());
return vecType<T, P>((vecType<floatType, P>(v) + Min) * (Max - Min) * static_cast<floatType>(2) - static_cast<floatType>(1));
return (vecType<floatType, P>(v) + Min) * (Max - Min) * static_cast<floatType>(2) - static_cast<floatType>(1);
}
};