UNPKG

own-tiles-renderer2

Version:

https://github.com/AnalyticalGraphicsInc/3d-tiles/tree/master/specification

12 lines (10 loc) 399 B
export const UNLOADED = 0; export const LOADING = 1; export const PARSING = 2; export const LOADED = 3; export const FAILED = 4; // https://en.wikipedia.org/wiki/World_Geodetic_System // https://en.wikipedia.org/wiki/Flattening export const WGS84_RADIUS = 6378137; export const WGS84_FLATTENING = 1 / 298.257223563; export const WGS84_HEIGHT = - ( WGS84_FLATTENING * WGS84_RADIUS - WGS84_RADIUS );