option to override FLT_EPSILON with GLM_FLT_EPSILON

This commit is contained in:
Recep Aslantas
2020-05-26 23:00:00 +03:00
parent 271e3b15d6
commit a1485a14f6
7 changed files with 31 additions and 23 deletions

View File

@@ -106,7 +106,7 @@ test_rand_quat(versor q);
CGLM_INLINE
bool
test_eq(float a, float b) {
return fabsf(a - b) <= 1e-6;
return fabsf(a - b) <= GLM_FLT_EPSILON * 10;
}
CGLM_INLINE