mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Revert
This commit is contained in:
parent
b7ee25e227
commit
d0c57e7afd
6
.gitignore
vendored
6
.gitignore
vendored
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user