Revert "Fix bug in fixCollisionBugsRoundedCorners"
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled

This commit is contained in:
PeachyPeach 2026-02-02 01:17:12 +01:00 committed by GitHub
parent b82ee2453e
commit 6b1a92ecdc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -162,7 +162,7 @@ static s32 find_wall_collisions_from_list(struct SurfaceNode *surfaceNode,
closest_point_to_triangle(surf, src, cPos);
// Exclude triangles where y isn't inside of it
if (cPos[1] < surf->lowerY || cPos[1] > surf->upperY) { continue; }
if (fabs(cPos[1] - y) > 1) { continue; }
// Figure out normal
f32 dX = src[0] - cPos[0];