Move the stub's geodesy into a Cesium-free src/geo

WGS84, ECEF and geodetic conversions, surface normals and east-north-up
frames, as plain {x, y, z} objects, exported as ./geo. A test checks
them against Cesium over random points and the poles. The stub's maths
re-exports them and keeps only the camera angle conventions.
This commit is contained in:
Sameh Khamis committed 2026-11-05 13:49:53 -08:00
1 parent 3dc79515bb
commit 1d7d454dd6
9 files changed
+453 -251

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
/**
* @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.
*/
export * from './vector.js';
export * from './ellipsoid.js';
export * from './frames.js';