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

+2
View File
@@ -179,6 +179,8 @@ export type Capability =
| 'pickPosition'
/** Points tested against the frame's depth (`query.occlusionTest`). */
| 'occlusionTest'
/** Conservative camera visibility of a point set (`camera.visiblePoints`). */
| 'pointVisibility'
/** Outward user zooms that keep the Earth framed (`controls.keepEarthFramed`). */
| 'keepEarthFramed'
/** Height sampling against tiles and terrain. */
+2
View File
@@ -48,6 +48,7 @@ export const CAPABILITIES = Object.freeze([
'followFrame',
'cameraChangeThreshold',
'occlusionTest',
'pointVisibility',
'keepEarthFramed',
]);
@@ -207,6 +208,7 @@ export const PORTS = deepFreeze({
'matrices',
),
['followFrame', 'followFrame'],
['visiblePoints', 'pointVisibility'],
['controls.keepEarthFramed', 'keepEarthFramed'],
]),
query: Object.fromEntries([