From 882105f571231acd562aa403fc4767585f70ac54 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 2 Dec 2026 22:27:58 +0400 Subject: test(ui): verify targeter sphere stays stable across damage stages --- crates/fparkan-runtime/src/cockpit_instruments.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crates/fparkan-runtime/src/cockpit_instruments.rs') 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)?; -- cgit v1.2.3