mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-15 15:52:21 +00:00
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:
1 parent
a90407d547
commit
e0d3e93a28
8 files changed
+15
-11
No files matched your search
@@ -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; };
|
||||
|
||||
Reference in new issue
Block a user