From bd9d7926768296ebad9f64550ede7cd840e6e5c8 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 16:49:57 +0400 Subject: refactor(terrain): share BAS projection for live building poses Move the authored contour projection out of the app so the same geometry can be prepared from an initial root or a live construction pose. The licensed stock Third Part construction test builds the real factory foundation and verifies that the original ground surface drops out beneath it. Constructor's normal Vulkan start retains clean validation. --- apps/fparkan-game/src/player_collision.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'apps/fparkan-game/src/player_collision.rs') diff --git a/apps/fparkan-game/src/player_collision.rs b/apps/fparkan-game/src/player_collision.rs index 5e1ed12e..c403f958 100644 --- a/apps/fparkan-game/src/player_collision.rs +++ b/apps/fparkan-game/src/player_collision.rs @@ -99,11 +99,7 @@ mod tests { terrain.source_mesh().unwrap(), &footprints .iter() - .map(|footprint| BasementFootprint { - outer: &footprint.outer, - inner: &footprint.inner, - flatten_inner_to_mean_outer_z: footprint.flatten_inner_to_mean_outer_z, - }) + .map(MissionBasementFootprint::contours) .collect::>(), ) .unwrap(); -- cgit v1.2.3