diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-10-18 23:29:27 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2023-10-18 23:29:27 -0400 |
| commit | 7e360ed3caa51dd4e5aa0ced6aaea26d552e2682 (patch) | |
| tree | ec79eaae51274ef0606e3faadb829c3d7927b587 /src/SSystem/SComponent/c_m2d.cpp | |
| parent | 1299f85522946aad75288ed16068545442cfc09d (diff) | |
c_m2d match, add JUT_ASSERT_FLOAT
Diffstat (limited to 'src/SSystem/SComponent/c_m2d.cpp')
| -rw-r--r-- | src/SSystem/SComponent/c_m2d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SSystem/SComponent/c_m2d.cpp b/src/SSystem/SComponent/c_m2d.cpp index f3fe3a90..2009fd56 100644 --- a/src/SSystem/SComponent/c_m2d.cpp +++ b/src/SSystem/SComponent/c_m2d.cpp @@ -17,7 +17,7 @@ void cM2d_CrossCirLin(cM2dGCir& circle, f32 x0, f32 y0, f32 x1, f32 y1, f32* pDs f32 c = (fVar1 * fVar1 + fVar15 * fVar15) - (circle.GetR() * circle.GetR()); f32 t; - JUT_ASSERT(0x47, c < 0.0f); + JUT_ASSERT_FLOAT(0x47, c < 0.0f); if (cM3d_IsZero(dVar13)) { if (!cM3d_IsZero(dVar14)) { @@ -48,7 +48,7 @@ void cM2d_CrossCirLin(cM2dGCir& circle, f32 x0, f32 y0, f32 x1, f32 y1, f32* pDs *pDstX = x0; *pDstY = y0; } else { - JUT_ASSERT(0x89, t >= 0.0f); + JUT_ASSERT_FLOAT(0x89, t >= 0.0f); *pDstX = x0 + (t * x1); *pDstY = y0 + (t * y1); } |
