mirror of
https://github.com/g-truc/glm.git
synced 2024-11-22 08:54:35 +00:00
Merge pull request #952 from UniQP/fixReturnValue
Let test return the number of errors #952
This commit is contained in:
commit
7c07544b34
@ -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