Add FramePerfection's Better Wall Collision with rounded corners

This commit is contained in:
Arceveti
2021-09-17 19:26:13 -07:00
parent 97f6fa6959
commit 2927db262c
16 changed files with 369 additions and 220 deletions

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