diff options
| author | Sparkling.Shampoo <102923452+sparklingshampoo@users.noreply.github.com> | 2022-04-17 11:19:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-17 11:19:45 -0400 |
| commit | 1dcd24e7e2aad2b22d2bfdb398e3a05e8a808eef (patch) | |
| tree | ac6f3c7dffeed2146da3da56bdf41c95347965f6 /soh/src/code/sys_math3d.c | |
| parent | 1aa08caade5bcb8a840eced6a71a74abddbc81cf (diff) | |
Fix cylinder-tri intersection for GCC due to FLT_EVAL_METHOD (#157)
Diffstat (limited to 'soh/src/code/sys_math3d.c')
| -rw-r--r-- | soh/src/code/sys_math3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/code/sys_math3d.c b/soh/src/code/sys_math3d.c index d442b7c4a..39ffea881 100644 --- a/soh/src/code/sys_math3d.c +++ b/soh/src/code/sys_math3d.c @@ -1857,7 +1857,7 @@ s32 Math3D_CylTriVsIntersect(Cylinder16* cyl, TriNorm* tri, Vec3f* intersect) { } } - if (minDistSq != 1.e38f) { + if (minDistSq != (f32)1.e38f) { return true; } |
