QUALITY_LIMITSconstant
The relative errors that divide the qualities: under good is good, up to rough is fair, over it is rough.
Import it
import { QUALITY_LIMITS } from "@johnmorrisdotca/hoshi-stars/constellation-3d";
Definition
const QUALITY_LIMITS: { readonly good: 0.05; readonly rough: 0.2; } = { good: 0.05, rough: 0.2 } as const
Members
| Name | Type | Description |
|---|---|---|
good | 0.05 | |
rough | 0.2 |
Examples
import { QUALITY_LIMITS } from "@johnmorrisdotca/hoshi-stars/constellation-3d";
console.log(QUALITY_LIMITS.good * 100, QUALITY_LIMITS.rough * 100); // 5 205 20What it prints (run when this page was built)