Fixed build error

This commit is contained in:
Groove 2018-07-29 00:43:55 +02:00
parent 472f2c13b7
commit 9d9a3e07c9

View File

@ -121,7 +121,7 @@ static int test_quat_memcpy()
glm::quat const A = glm::quat(1, 0, 0, 0);
glm::quat B;
std::memcpy(&B, &A, sizeof(glm::quat));
Error += B == A ? 0 : 1;
Error += glm::all(glm::equal(B, A, glm::epsilon<float>())) ? 0 : 1;
}
return Error;