aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/projectile.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/fparkan-runtime/src/projectile.rs')
-rw-r--r--crates/fparkan-runtime/src/projectile.rs2
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,