fix(cctv): register camera point visibility capability

This commit is contained in:
brandonabyrd committed 2026-11-18 17:13:06 -06:00
1 parent 02c60c0a20
commit 28007e20ef
9 files changed
+26 -3

No files matched your search

@@ -321,6 +321,8 @@ test('the application’s Cesium renderer runs the controller around its preUpda
const renderer = await plugin.create({ container: {} });
assert.equal(scene.screenSpaceCameraController.enableInputs, false);
assert.equal(typeof renderer.camera.native.setPose, 'function');
assert.equal(renderer.capabilities.has('pointVisibility'), true);
assert.equal(renderer.camera.visiblePoints([], 200), null);
renderer.frame.on('preUpdate', () => order.push('preUpdate'));
scene.preUpdate.raise(scene, Cesium.JulianDate.fromDate(new Date(5000)));
assert.deepEqual(order, [['before', 5000], 'preUpdate', 'after']);