mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-18 01:02:23 +00:00
Merge main (d49d3d10) into the renderer branch
This commit is contained in:
commit
489c316556
134 files changed
+4980
-229
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import { courseSlewCapDps } from '../../data/motionModel.js';
|
||||
import { createAircraftIcons } from '../../data/aircraftIconLayer.js';
|
||||
import { placeAircraftAt } from './placed.js';
|
||||
import { motionCourse } from '../../render/motion/iconMotion.js';
|
||||
import { distanceSquared, norm180 } from '../../geo/vector.js';
|
||||
import {
|
||||
@@ -31,6 +32,18 @@ export function createIcons({ flightState, services, parts }) {
|
||||
staleAlpha: STALE_ALPHA,
|
||||
courseMaxDps: COURSE_MAX_DPS,
|
||||
cockpitContactSizePx: COCKPIT_CONTACT_SIZE_PX,
|
||||
// A host-supplied placement, if any, draws a live contact where it places it.
|
||||
placeAt: services.placement
|
||||
? (icao24, wallMs, info, history, out) =>
|
||||
placeAircraftAt(
|
||||
services.placement,
|
||||
icao24,
|
||||
wallMs,
|
||||
info,
|
||||
history,
|
||||
out,
|
||||
)
|
||||
: null,
|
||||
holdsPlan: (icao24) =>
|
||||
flightState._focusEvidenceIds.has(icao24) ||
|
||||
flightState._floorPinned.has(icao24),
|
||||
|
||||
Reference in new issue
Block a user