mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Release God's Eye View as open source
This commit is contained in:
1 parent
a5aaea7e16
commit
880a672b5e
433 files changed
+219893
-23
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user