Revert
This commit is contained in:
parent
b7ee25e227
commit
d0c57e7afd
6
.gitignore
vendored
6
.gitignore
vendored
@ -36,11 +36,11 @@ install_manifest.txt
|
|||||||
*.cmake
|
*.cmake
|
||||||
# ^ May need to add future .cmake files as exceptions
|
# ^ May need to add future .cmake files as exceptions
|
||||||
|
|
||||||
# Test output
|
# Test logs
|
||||||
Testing/*
|
Testing/*
|
||||||
test/*/test-*
|
|
||||||
|
# Test input
|
||||||
test/gtc/*.dds
|
test/gtc/*.dds
|
||||||
glm/glm_dummy
|
|
||||||
|
|
||||||
# Project Files
|
# Project Files
|
||||||
*.cbp
|
*.cbp
|
||||||
|
@ -79,7 +79,7 @@ namespace detail
|
|||||||
{
|
{
|
||||||
floatType const Min = static_cast<floatType>(std::numeric_limits<T>::min());
|
floatType const Min = static_cast<floatType>(std::numeric_limits<T>::min());
|
||||||
floatType const Max = static_cast<floatType>(std::numeric_limits<T>::max());
|
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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user