Update core_func_common.cpp

This commit is contained in:
Giuseppe Barbieri
2018-01-26 15:08:02 +01:00
committed by GitHub
parent 0f956f6dbc
commit b2a1d7a293

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;
}