From 489244b8918b3ca933776d640f7fa2a0800dccad Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 14 Nov 2026 17:57:11 +0400 Subject: fix(combat): aim at exposed unit hulls --- crates/fparkan-runtime/src/projectile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/fparkan-runtime/src/projectile.rs') diff --git a/crates/fparkan-runtime/src/projectile.rs b/crates/fparkan-runtime/src/projectile.rs index 7e177a17..15ffce85 100644 --- a/crates/fparkan-runtime/src/projectile.rs +++ b/crates/fparkan-runtime/src/projectile.rs @@ -331,7 +331,7 @@ pub fn apply_projectile_contact( Ok(updated.map(|_| ((remaining - volume).max(0.0), false))) } -fn segment_sphere_fraction( +pub(super) fn segment_sphere_fraction( [start, end]: [[f32; 3]; 2], center: [f32; 3], radius: f32, -- cgit v1.2.3