Add the sun and moon to src/geo

A port of Cesium's Simon 1994 sun and moon positions, its TEME to
pseudo-fixed rotation and the JulianDate time handling, with epoch
milliseconds as the only input. Results are identical to Cesium's,
tested with exact equality from year -500 to 3000 and across every
leap second. Times outside the model throw a RangeError, where
Cesium's debug build throws.
This commit is contained in:
Sameh Khamis committed 2026-11-05 14:10:48 -08:00
1 parent 5652236a27
commit fd1c09dbbc
4 files changed
+1021 -2

No files matched your search

+5 -1
View File
@@ -2359,6 +2359,7 @@
"src/geo/vector.js",
"src/geo/ellipsoid.js",
"src/geo/frames.js",
"src/geo/celestial.js",
"src/layers/flights/icons.js",
"src/data/aircraftIconLayer.js",
"src/data/aircraftModelLayer.js",
@@ -5120,6 +5121,7 @@
"src/geo/vector.js",
"src/geo/ellipsoid.js",
"src/geo/frames.js",
"src/geo/celestial.js",
"src/agent/worldPacket.js",
"src/data/layerSnapshot.js",
"src/data/feedState.js",
@@ -5141,7 +5143,8 @@
"src/geo/index.js",
"src/geo/vector.js",
"src/geo/ellipsoid.js",
"src/geo/frames.js"
"src/geo/frames.js",
"src/geo/celestial.js"
],
"external": []
},
@@ -5162,6 +5165,7 @@
"src/geo/vector.js",
"src/geo/ellipsoid.js",
"src/geo/frames.js",
"src/geo/celestial.js",
"src/render/stub/motion.js",
"src/render/stub/camera.js",
"src/render/stub/geodesic.js",