Reference · The realistic Earth's pure parts
TEXELS_PER_RADIUS_PIXELconstant
Texels across the whole circumference wanted per device pixel of the globe's radius: 3 is a little under 2 pi, so a texel is a little larger than a pixel.
Import it
import { TEXELS_PER_RADIUS_PIXEL } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
const TEXELS_PER_RADIUS_PIXEL: 3 = 3
Examples
import { TEXELS_PER_RADIUS_PIXEL } from "@johnmorrisdotca/chikyu-earth/realistic";
console.log(TEXELS_PER_RADIUS_PIXEL);3What it prints (run when this page was built)