mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
option to override FLT_EPSILON with GLM_FLT_EPSILON
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user