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

@@ -289,7 +289,7 @@ glm_smoothinterpc(float from, float to, float t) {
CGLM_INLINE
bool
glm_eq(float a, float b) {
return fabsf(a - b) <= FLT_EPSILON;
return fabsf(a - b) <= GLM_FLT_EPSILON;
}
/*!