Fixed warnings

This commit is contained in:
Christophe Riccio
2017-08-08 20:28:37 +02:00
parent 32054a8fdf
commit 5a747d2ae5
7 changed files with 31 additions and 31 deletions

View File

@@ -154,7 +154,7 @@ namespace refract
float A(-1.0f);
float B(1.0f);
float C = glm::refract(A, B, 0.5f);
Error += C == -1.0f ? 0 : 1;
Error += glm::epsilonEqual(C, -1.0f, 0.0001f) ? 0 : 1;
}
{