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:
@@ -40,4 +40,12 @@
|
||||
#include "types.h"
|
||||
#include "simd/intrin.h"
|
||||
|
||||
#ifndef CGLM_USE_DEFAULT_EPSILON
|
||||
# ifndef GLM_FLT_EPSILON
|
||||
# define GLM_FLT_EPSILON 1e-6
|
||||
# endif
|
||||
#else
|
||||
# define GLM_FLT_EPSILON FLT_EPSILON
|
||||
#endif
|
||||
|
||||
#endif /* cglm_common_h */
|
||||
|
||||
Reference in New Issue
Block a user