heliocentricToUniverse

function heliocentricToUniverse
universe/src/catalog/astrometry.ts:76
heliocentricToUniverse(x: number, y: number, z: number) → UniverseVector

Heliocentric galactic cartesian meters to a universe coordinate.

The universe origin is the galactic center, so the Sun lands 8.178 kpc out rather than at zero. That is deliberate: an origin at the player's home system would have to move the moment the game modeled anywhere else, and every sector index would be a relative quantity pretending to be absolute.

xnumber
Undocumented
ynumber
Undocumented
znumber
Undocumented