mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-14 15:22:21 +00:00
Batch infrastructure and cable stems through engine.lines
Add copied, committed segment batches to the contract, Cesium, Navara and the fake engine. Keep each segment's colour, width and pick identity while drawing one primitive or overlay mesh per display. Preserve Cesium's stem sizes, ground sampling, visible cohorts, update cadence and click targets. Navara draws the batch after tone mapping through the existing overlay. Cover disconnected geometry, picks, hidden replacement, empty batches and cleanup in the contract suite and engine tests. Keep the infrastructure and cable display assertions on fake and headless Cesium engines, and read batch counts and pick identities in the browser checks. No coupling count fell or grew: all eleven metrics are unchanged, including 891 viewer lines, three external Cesium import files and 189 layer Navara render lines. Checked in the browser, keyless: the contract suite passes on both engines, with the new segment picking and pixel checks; the infrastructure and submarine-cable engine switches, the cable overlay and infrastructure LOD scripts pass.
This commit is contained in:
1 parent
fd65288101
commit
fbadf792d8
19 files changed
+677
-141
No files matched your search
@@ -138,8 +138,8 @@ try {
|
||||
out.tips += set.count;
|
||||
}
|
||||
}
|
||||
out.stems = engine.lines.list().filter((line) =>
|
||||
line.id.startsWith(`${layerId}-stem-`) && line.shown).length;
|
||||
out.stems = (engine.lines.list().find((line) =>
|
||||
line.id === `${layerId}-stems` && line.shown)?.points ?? 0) / 2;
|
||||
const diag = window.__gevWorldOverlay?.getDiagnostics?.() || {};
|
||||
out.hostEntries = diag.entriesBySource?.[layerId] || 0;
|
||||
out.hostPainted = diag.paintedBySource?.[layerId] || 0;
|
||||
|
||||
Reference in new issue
Block a user