mirror of
https://github.com/recp/cglm.git
synced 2025-12-31 04:37:01 +00:00
tests: use test_eq insteaf og glm_eq
This commit is contained in:
@@ -82,4 +82,10 @@ test_rand(void);
|
||||
void
|
||||
test_rand_quat(versor q);
|
||||
|
||||
CGLM_INLINE
|
||||
bool
|
||||
test_eq(float a, float b) {
|
||||
return fabsf(a - b) <= 1e-6;
|
||||
}
|
||||
|
||||
#endif /* test_common_h */
|
||||
|
||||
Reference in New Issue
Block a user