mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
The aircraft layers' model spec key, IR boost and belly offset and the billboards' large-icon flag move into aircraftVisuals, one store shared by flights, military and local ADS-B. Installation markers' last drawn height and selection move into installationMarkers. The CCTV viewshed QA tag is now the viewshedCameraId record field, which qa-cctv-v2 reads through entityRecords. Test fixtures drop a placement flag nothing reads.
12 lines
579 B
JavaScript
12 lines
579 B
JavaScript
import { createEntityStore } from '../../data/entityRecords.js';
|
|
|
|
/**
|
|
* What the aircraft layers (flights, military, local ADS-B) remember about the
|
|
* models and billboards they draw, kept beside them rather than on them.
|
|
* - `specKey`: the model spec a model was loaded for; a class change reloads.
|
|
* - `irBoost`: the IR boost a model was loaded with; a flip reloads.
|
|
* - `bellyM`: metres from the model origin to its belly, to sit it on the ground.
|
|
* - `iconLarge`: whether a billboard shows the large icon raster.
|
|
*/
|
|
export const aircraftVisuals = createEntityStore();
|