mirror of
https://github.com/g-truc/glm.git
synced 2026-08-20 10:09:27 +00:00
Fixed warnings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user