mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Move the instanced icon set primitive into the Cesium adapter
The primitive that draws icon sets in a Cesium scene now lives at src/render/cesium/iconSetPrimitive.js beside the draw port's GPU icons, and leaves the Cesium allow-list. Its importers (the draw port, CCTV, FIRMS and the cyber sonar overlay) load it from there.
This commit is contained in:
1 parent
f65df05b62
commit
09f2b88bf9
9 files changed
+41
-41
No files matched your search
@@ -2781,7 +2781,7 @@ async function vesselLayerOver(scene, sprites) {
|
||||
}
|
||||
|
||||
test('the vessels layer draws its ships as one GPU icon set that holds them on course', async () => {
|
||||
const { IconSetPrimitive } = await import('../../data/iconSetPrimitive.js');
|
||||
const { IconSetPrimitive } = await import('./iconSetPrimitive.js');
|
||||
const { ICON_CULL_LIFT, ICON_ROTATES } =
|
||||
await import('../../data/iconSet.js');
|
||||
const spriteOrder = await import('../../data/spriteOrder.js');
|
||||
@@ -2908,7 +2908,7 @@ test('vessels on a host with no sprite-set registry still draw, and say so once'
|
||||
test('an aircraft layer draws its contacts as one GPU icon set moving on the delayed live clock', async () => {
|
||||
const { createAircraftIcons } =
|
||||
await import('../../data/aircraftIconLayer.js');
|
||||
const { IconSetPrimitive } = await import('../../data/iconSetPrimitive.js');
|
||||
const { IconSetPrimitive } = await import('./iconSetPrimitive.js');
|
||||
const { ICON_CULL_LIFT, ICON_RECEDES, ICON_ROTATES } =
|
||||
await import('../../data/iconSet.js');
|
||||
const { iconAtlas, nearImageSwitchPx } =
|
||||
|
||||
Reference in new issue
Block a user