mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 01:12:19 -05:00
Fix switch puzzle locking issues (#4027)
This commit is contained in:
parent
612da023f0
commit
e163d5bc3d
@ -398,7 +398,7 @@ 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 +
|
(poly->normal.x * posB->x + poly->normal.y * posB->y + poly->normal.z * posB->z) * COLPOLY_NORMAL_FRAC +
|
||||||
plane.originDist;
|
plane.originDist;
|
||||||
|
|
||||||
#ifdef __WIIU__
|
#if defined(__SWITCH__) || defined(__WIIU__)
|
||||||
// on some platforms this ends up as very small numbers due to rounding issues
|
// on some platforms this ends up as very small numbers due to rounding issues
|
||||||
if (IS_ZERO(planeDistA)) {
|
if (IS_ZERO(planeDistA)) {
|
||||||
planeDistA = 0.0f;
|
planeDistA = 0.0f;
|
||||||
|
Loading…
Reference in New Issue
Block a user