Orbit, move, look and zoom through the camera port

The Cesium camera port gains move, look, rotateAround and zoom, and the
browser conformance run now checks them, the lookAt-frame commands, the
changed thresholds and moveEnd (timed by the clock, not a frame count).
Orbit, the Bhote Koshi focus and cinematic, the launch zoom anchor and
replay chase, the camera verbs' motion tick and roll levelling, and
voice zoom write through the port.
This commit is contained in:
Sameh Khamis committed 2026-11-06 10:21:04 -08:00
1 parent c722593791
commit 21d23034ec
19 files changed
+174 -112

No files matched your search

+3 -2
View File
@@ -1,3 +1,4 @@
import { bindFakeCesiumCamera } from '../testSupport/fakeCameraPort.mjs';
import test from 'node:test';
import assert from 'node:assert/strict';
import {
@@ -47,7 +48,7 @@ const outputs = (ws) =>
function fixture({ holdFirst = false } = {}) {
const state = { height: 1000, renders: 0, providerWrites: [], panels: [] };
const position = { x: 6379137, y: 0, z: 0 };
const viewer = {
const viewer = bindFakeCesiumCamera({
clock: { onTick: { addEventListener: () => () => {} } },
camera: {
positionWC: position,
@@ -76,7 +77,7 @@ function fixture({ holdFirst = false } = {}) {
state.renders++;
},
},
};
});
const runner = createGevActionRunner({
viewer,
dataManager: { layers: new Map() },