Skip to content

Type Alias: BodyType

ts
type BodyType = "planetary" | "star";

Body taxonomy — pure body domain, no game or resource vocabulary.

Two top-level kinds:

  • 'planetary' — every body that can host a hex sol (rocky, gas-like, metallic, ice…). The visual archetype is selected by SurfaceLook.
  • 'star' — emissive body, dedicated mesh pipeline (no atmo shell, no liquid surface, no layered sol).

Adding a future kind ('blackhole', 'nebula', …) means a new pipeline branch in useBody. Adding a visual archetype on a planetary body is just a new SurfaceLook value — no new mesh pipeline needed.

Distribué sous la licence indiquée dans le dépôt.