Move the wind's Cesium rendering into the Cesium adapter

The particle canvas, its GPU path and the relief shading move unchanged
from src/layers/wind/ to src/globe/cesium/; the adapter reads the Cesium
viewer itself, so the layer no longer hands one in.
This commit is contained in:
German Khokhlov committed 2026-11-10 16:14:14 +04:00
1 parent a90407d547
commit e0d3e93a28
8 files changed
+15 -11

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ try {
const page = await browser.newPage();
await page.goto(`${process.env.QA_BASE_URL || 'http://localhost:4173'}/`, { waitUntil: 'domcontentloaded' });
const result = await page.evaluate(async () => {
const { createWindRendering } = await import('/src/layers/wind/rendering.js');
const { createWindRendering } = await import('/src/globe/cesium/windRendering.js');
const raf = window.requestAnimationFrame; const caf = window.cancelAnimationFrame;
const callbacks = new Map(); let sequence = 0;
window.requestAnimationFrame = callback => { callbacks.set(++sequence, callback); return sequence; };