Share the camera events and the stub's drawn positions with other cameras

The geo export now has geodesicAt and horizonFrom. The camera events module
is a public export (./render/camera/events) and holds move detection and the
command hooks as well as the per-listener changed measure; the stub camera
uses them. Each onCommand registration is now its own, so removing one twin
leaves the other. The stub's testing.drawnPosition says where it draws an
item, so a camera that is not the stub's can follow drawn items.
This commit is contained in:
Sameh Khamis committed 2026-11-08 19:22:42 -08:00
1 parent afd8dba67b
commit ef616b7905
9 files changed
+320 -70

No files matched your search

+5 -2
View File
@@ -2,8 +2,9 @@
* @module geo
* @description Cesium-free geodesy and vector maths: WGS84, ECEF and
* geodetic conversions, east-north-up frames, quaternions, and the sun and
* moon. Plain numbers and `{x, y, z}` objects only, so code that needs
* maths but not a renderer does not import one.
* moon, a point along a geodesic and the ellipsoid's horizon. Plain numbers
* and `{x, y, z}` objects only, so code that needs maths but not a renderer
* does not import one.
*/
export * from './vector.js';
export * from './ellipsoid.js';
@@ -11,3 +12,5 @@ export * from './frames.js';
export * from './celestial.js';
export * from './julian.js';
export * from './quaternion.js';
export { geodesicAt } from './geodesic.js';
export { horizonFrom } from './horizon.js';