Fix cylinder-tri intersection for GCC due to FLT_EVAL_METHOD

This commit is contained in:
Sparkling Shampoo 2022-04-13 22:13:44 -04:00
commit 87ae654f3a

View file

@ -1857,7 +1857,7 @@ s32 Math3D_CylTriVsIntersect(Cylinder16* cyl, TriNorm* tri, Vec3f* intersect) {
} }
} }
if (minDistSq != 1.e38f) { if (minDistSq != (f32)1.e38f) {
return true; return true;
} }