mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fixed build
This commit is contained in:
parent
1d9a8028e4
commit
f82d23949a
@ -46,6 +46,8 @@ static int test_inverse()
|
||||
{
|
||||
typedef typename matType::value_type value_type;
|
||||
|
||||
value_type const Epsilon = 0.001f;
|
||||
|
||||
int Error = 0;
|
||||
|
||||
matType const Identity(1.0f);
|
||||
@ -57,7 +59,6 @@ static int test_inverse()
|
||||
matType const Inverse = Identity / Matrix;
|
||||
matType const Result = Matrix * Inverse;
|
||||
|
||||
value_type const Epsilon(0.001);
|
||||
Error += glm::all(glm::equal(Identity, Result, Epsilon)) ? 0 : 1;
|
||||
|
||||
return Error;
|
||||
|
Loading…
Reference in New Issue
Block a user