tests: use test_eq insteaf og glm_eq

This commit is contained in:
Recep Aslantas
2019-09-22 22:27:05 +03:00
parent d7b37ba245
commit 51ffe09589
8 changed files with 181 additions and 175 deletions

View File

@@ -82,4 +82,10 @@ test_rand(void);
void
test_rand_quat(versor q);
CGLM_INLINE
bool
test_eq(float a, float b) {
return fabsf(a - b) <= 1e-6;
}
#endif /* test_common_h */