Release God's Eye View as open source

This commit is contained in:
Bilawal Sidhu committed 2026-08-24 17:02:16 -05:00
1 parent a5aaea7e16
commit 880a672b5e
433 files changed
+219893 -23

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
/** Cockpit brackets stay legible without dominating the first-person view. */
export const COCKPIT_BRACKET_OPACITY = 0.45;
/**
* Resolve the bracket-only opacity multiplier for the current presentation.
* Detection callouts and user tuning are intentionally unaffected.
* @param {boolean} cockpitActive - Whether Cockpit view owns the viewport.
* @returns {number} Bracket stroke opacity multiplier.
*/
export function detectionBracketOpacity(cockpitActive) {
return cockpitActive === true ? COCKPIT_BRACKET_OPACITY : 1;
}