mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
Make double promotion in printf args explicit
Also use f-suffix on epsilon definitions for float comparisons.
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
|
||||
#ifndef CGLM_USE_DEFAULT_EPSILON
|
||||
# ifndef GLM_FLT_EPSILON
|
||||
# define GLM_FLT_EPSILON 1e-5
|
||||
# define GLM_FLT_EPSILON 1e-5f
|
||||
# endif
|
||||
#else
|
||||
# define GLM_FLT_EPSILON FLT_EPSILON
|
||||
|
||||
Reference in New Issue
Block a user