From 752d34af83acf9a818e22c621fb034913079acff Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 2 Dec 2026 01:04:24 +0400 Subject: feat(ui): plot local detections on the cockpit radar Draw each current detection from the occupied unit sensor in camera-relative coordinates, with the original range scale, clan color and screen-pixel marks. Check stock Two Fortresses before and after a free-look turn and exercise the native rectangle and line callbacks. --- crates/fparkan-render/src/cockpit_course.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/fparkan-render/src/cockpit_course.rs') diff --git a/crates/fparkan-render/src/cockpit_course.rs b/crates/fparkan-render/src/cockpit_course.rs index 974249b0..713c9ca6 100644 --- a/crates/fparkan-render/src/cockpit_course.rs +++ b/crates/fparkan-render/src/cockpit_course.rs @@ -2,7 +2,7 @@ use std::f32::consts::{FRAC_PI_2, PI}; -const CENTER: [f32; 2] = [320.0, 396.0]; +pub(crate) const CENTER: [f32; 2] = [320.0, 396.0]; const HALF_MARKER_ANGLE: f32 = 0.08726647; /// Front and rear marker corners in the original triangle-strip order. -- cgit v1.2.3