Merge pull request #725 from elect86/master

Fixed core_func_common.cpp unsigned test #725
This commit is contained in:
Christophe 2018-03-17 10:59:03 +01:00 committed by GitHub
commit 2fd7333dd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -235,7 +235,7 @@ namespace floatBitsToUint
{
float A = 1.0f;
glm::uint B = glm::floatBitsToUint(A);
float C = glm::intBitsToFloat(B);
float C = glm::uintBitsToFloat(B);
Error += glm::epsilonEqual(A, C, 0.0001f) ? 0 : 1;
}