Fix b2Assert location and fix isfinite missing

This commit is contained in:
Garrett Brown
2020-10-17 22:52:58 -04:00
parent dfd8c84d43
commit dd445ed182
3 changed files with 3 additions and 4 deletions
+2 -1
View File
@@ -34,7 +34,8 @@
#endif
#define B2_NOT_USED(x) ((void)(x))
#define b2Assert(A) assert(A)
void loveAssert(bool test, const char* teststr);
#define b2Assert(A) loveAssert((A), #A)
#define b2_maxFloat FLT_MAX
#define b2_epsilon FLT_EPSILON