mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Fix b2Assert location and fix isfinite missing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user