aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/cockpit_instruments.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/fparkan-runtime/src/cockpit_instruments.rs')
-rw-r--r--crates/fparkan-runtime/src/cockpit_instruments.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/fparkan-runtime/src/cockpit_instruments.rs b/crates/fparkan-runtime/src/cockpit_instruments.rs
index 9911d52e..4948773e 100644
--- a/crates/fparkan-runtime/src/cockpit_instruments.rs
+++ b/crates/fparkan-runtime/src/cockpit_instruments.rs
@@ -91,7 +91,8 @@ pub fn instrument_readout(
})
}
-/// Local sphere used by AniMesh selector 2 with the targeter's node filter.
+/// Initial local sphere used by AniMesh selector 2 with the targeter's node
+/// filter. Changing a node's damage stage does not invalidate this sphere.
pub fn instrument_bounds(engine: &Engine, object_index: usize) -> Option<([f32; 3], f32)> {
let mission = engine.loaded.as_ref()?;
let draft = mission.object_drafts.get(object_index)?;