diff options
| author | Philip Dubé <159546+serprex@users.noreply.github.com> | 2026-06-24 19:28:09 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-24 19:28:09 +0000 |
| commit | f95c23ef69ed45bffc8610c841bba1ce40a4f88e (patch) | |
| tree | 07d48a864903b5f4f78a5b4d5d38fee8a3e819cf /soh/src/code | |
| parent | 53b9db5b92c1f1210950e4381472c90b29932b93 (diff) | |
No FMA (#6811)
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_bgcheck.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/soh/src/code/z_bgcheck.c b/soh/src/code/z_bgcheck.c index f0ad28568..e98e66e44 100644 --- a/soh/src/code/z_bgcheck.c +++ b/soh/src/code/z_bgcheck.c @@ -399,16 +399,6 @@ s32 CollisionPoly_LineVsPoly(CollisionPoly* poly, Vec3s* vtxList, Vec3f* posA, V (poly->normal.x * posB->x + poly->normal.y * posB->y + poly->normal.z * posB->z) * COLPOLY_NORMAL_FRAC + plane.originDist; -#if defined(__SWITCH__) || defined(__WIIU__) - // on some platforms this ends up as very small numbers due to rounding issues - if (IS_ZERO(planeDistA)) { - planeDistA = 0.0f; - } - if (IS_ZERO(planeDistB)) { - planeDistB = 0.0f; - } -#endif - planeDistDelta = planeDistA - planeDistB; if ((planeDistA >= 0.0f && planeDistB >= 0.0f) || (planeDistA < 0.0f && planeDistB < 0.0f) || (chkOneFace && planeDistA < 0.0f && planeDistB > 0.0f) || IS_ZERO(planeDistDelta)) { |
