s2maps-gpu
Version:
S2 Maps GPU - An open source, high-performance, and GPU-accelerated map engine for rendering large-scale, interactive maps.
19 lines (18 loc) • 718 B
JavaScript
/** Mars' radius in meters */
export const MARS_RADIUS = 3_389_500;
/** Mars' equitorial radius in meters */
export const MARS_RADIUS_EQUATORIAL = 3_396_200;
/** Mars' polar radius in meters */
export const MARS_RADIUS_POLAR = 3_376_200;
/** The average circumference of Mars in meters. */
export const MARS_CIRCUMFERENCE = 21_296_856.59868521; // 2.0 * Math.PI * MARS_RADIUS;
/**
* The altitude of the highest known point on Mars in meters.
* https://geology.com/articles/highest-point-on-mars.shtml
*/
export const MARS_HIGHEST_ALTITUDE = 21_229.0;
/**
* The altitude of the lowest known point on Mars in meters.
* https://en.wikipedia.org/wiki/Hellas_Planitia
*/
export const MARS_LOWEST_ALTITUDE = -7_152.0;