diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-14 16:57:11 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-14 16:57:11 +0300 |
| commit | 489244b8918b3ca933776d640f7fa2a0800dccad (patch) | |
| tree | 302e4e95b5d28835780457887b8e03736d2125ea /crates/fparkan-runtime/src/projectile.rs | |
| parent | 51ae13c070a7598417d4d72139ca74608616ecec (diff) | |
| download | fparkan-489244b8918b3ca933776d640f7fa2a0800dccad.tar.xz fparkan-489244b8918b3ca933776d640f7fa2a0800dccad.zip | |
fix(combat): aim at exposed unit hulls
Diffstat (limited to 'crates/fparkan-runtime/src/projectile.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/projectile.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
