Fix G_CM3D_F_INF define

This commit is contained in:
LagoLunatic 2025-09-28 14:01:14 -04:00
parent bf818e8aec
commit 27f0df12eb
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ extern const f32 G_CM3D_F_ABS_MIN;
#if VERSION == VERSION_DEMO
extern const f32 G_CM3D_F_INF;
#else
#define G_CM3D_F_INF 1e+9f
#define G_CM3D_F_INF (1000000000.0f)
#endif
extern const u32 BPCP_OUTCODE0;

View File

@ -9,8 +9,8 @@
#define CHECK_MINMAX_1(line, min, max) \
JUT_ASSERT(line, \
min->x != (1000000000.0f) && min->y != (1000000000.0f) && min->z != (1000000000.0f) && \
max->x != -(1000000000.0f) && max->y != -(1000000000.0f) && max->z != -(1000000000.0f) \
min->x != G_CM3D_F_INF && min->y != G_CM3D_F_INF && min->z != G_CM3D_F_INF && \
max->x != -G_CM3D_F_INF && max->y != -G_CM3D_F_INF && max->z != -G_CM3D_F_INF \
);
#define CHECK_MINMAX_2(line, min, max) \