Reference · The Sun, Moon and planets: pure parts
EARTH_RADIUS_KMconstant
The Earth's radius in kilometres, the unit of the scene's distances.
Import it
import { EARTH_RADIUS_KM } from "@johnmorrisdotca/chikyu-earth/space";
Definition
const EARTH_RADIUS_KM: 6371 = 6371
Examples
import { EARTH_RADIUS_KM } from "@johnmorrisdotca/chikyu-earth/space";
console.log(EARTH_RADIUS_KM);6371What it prints (run when this page was built)