Reference · The realistic Earth's pure parts
GridStatstype
What the grid has done: whether it is drawn, whether it shows the lines every 15 degrees (else every 30), how many segments the last draw had, and how many times its lines were made.
Import it
import type { GridStats } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
interface GridStats {
shown: boolean;
fine: boolean;
segments: number;
builds: number;
failed: boolean;
}
Members
| Name | Type | Description |
|---|---|---|
shown | boolean | |
fine | boolean | |
segments | number | |
builds | number | |
failed | boolean |
Examples
import type { GridStats } from "@johnmorrisdotca/chikyu-earth/realistic";
const none: GridStats = { shown: false, fine: false, segments: 0, builds: 0, failed: false };
console.log(none);