Add FramePerfection's Better Wall Collision with rounded corners

This commit is contained in:
Arceveti committed 2021-09-17 19:26:13 -07:00
1 parent 97f6fa6959
commit 2927db262c
16 files changed
+369 -220

No files matched your search

-4
View File
@@ -130,10 +130,6 @@ static void add_surface_to_cell(s32 dynamic, s32 cellX, s32 cellZ, struct Surfac
} else {
listIndex = SPATIAL_PARTITION_WALLS;
sortDir = 0; // insertion order
if (surface->normal.x < -0.707 || surface->normal.x > 0.707) {
surface->flags |= SURFACE_FLAG_X_PROJECTION;
}
}
//! (Surface Cucking) Surfaces are sorted by the height of their first