Fix cylinder-tri intersection for GCC due to FLT_EVAL_METHOD (#157)

This commit is contained in:
Sparkling.Shampoo 2022-04-17 11:19:45 -04:00 committed by GitHub
parent 1aa08caade
commit 1dcd24e7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
} }