mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 05:13:39 -07:00
Fix cylinder-tri intersection for GCC due to FLT_EVAL_METHOD
This commit is contained in:
parent
4a05b32755
commit
87ae654f3a
1 changed files with 1 additions and 1 deletions
|
@ -1857,7 +1857,7 @@ s32 Math3D_CylTriVsIntersect(Cylinder16* cyl, TriNorm* tri, Vec3f* intersect) {
|
|||
}
|
||||
}
|
||||
|
||||
if (minDistSq != 1.e38f) {
|
||||
if (minDistSq != (f32)1.e38f) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue