mirror of
https://github.com/recp/cglm.git
synced 2026-01-05 06:40:06 +00:00
tests: add more tests for vec3
This commit is contained in:
@@ -88,4 +88,10 @@ test_eq(float a, float b) {
|
||||
return fabsf(a - b) <= 1e-6;
|
||||
}
|
||||
|
||||
CGLM_INLINE
|
||||
bool
|
||||
test_eq_th(float a, float b, float th) {
|
||||
return fabsf(a - b) <= th;
|
||||
}
|
||||
|
||||
#endif /* test_common_h */
|
||||
|
||||
Reference in New Issue
Block a user