mirror of
https://github.com/recp/cglm.git
synced 2026-01-04 06:26:45 +00:00
option to override FLT_EPSILON with GLM_FLT_EPSILON
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user