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

+15
View File
@@ -0,0 +1,15 @@
/** Decide whether a loaded aircraft participates in a proximity query.
*
* `modelRendering` is the OWNERSHIP question, not `model.show`: a model that
* exists but is hidden, unplaced, or still loading is not what the operator sees,
* and the billboard flag is what answers for the contact in those states. Reading
* a bare `show` here counted a contact whose model had been admitted but was
* drawing nothing. */
export function aircraftIncludedInNearby({
isTracked = false,
billboardShown = false,
modelRendering = false,
includeHidden = false,
} = {}) {
return Boolean(includeHidden || isTracked || billboardShown || modelRendering);
}