mirror of
https://github.com/g-truc/glm.git
synced 2024-11-22 17:04:35 +00:00
Let test return the number of errors
This commit is contained in:
parent
5868657413
commit
7b06a984af
@ -14,7 +14,7 @@ int test_fastInverseSqrt()
|
||||
Error += glm::all(glm::epsilonEqual(glm::fastInverseSqrt(glm::dvec3(1.0)), glm::dvec3(1.0), 0.01)) ? 0 : 1;
|
||||
Error += glm::all(glm::epsilonEqual(glm::fastInverseSqrt(glm::dvec4(1.0)), glm::dvec4(1.0), 0.01)) ? 0 : 1;
|
||||
|
||||
return 0;
|
||||
return Error;
|
||||
}
|
||||
|
||||
int test_fastDistance()
|
||||
|
Loading…
Reference in New Issue
Block a user