Expand galaxy generation and viewer rendering

This commit is contained in:
2026-03-12 21:48:14 -04:00
parent e57378ad2a
commit b57b04d90a
9 changed files with 1071 additions and 63 deletions

View File

@@ -41,6 +41,8 @@ export interface SystemSnapshot {
id: string;
label: string;
position: Vector3Dto;
starKind: string;
starCount: number;
starColor: string;
starSize: number;
planets: PlanetSnapshot[];
@@ -48,7 +50,16 @@ export interface SystemSnapshot {
export interface PlanetSnapshot {
label: string;
planetType: string;
shape: string;
moonCount: number;
orbitRadius: number;
orbitSpeed: number;
orbitEccentricity: number;
orbitInclination: number;
orbitLongitudeOfAscendingNode: number;
orbitArgumentOfPeriapsis: number;
orbitPhaseAtEpoch: number;
size: number;
color: string;
hasRing: boolean;
@@ -58,6 +69,7 @@ export interface ResourceNodeSnapshot {
id: string;
systemId: string;
position: Vector3Dto;
sourceKind: string;
oreRemaining: number;
maxOre: number;
itemId: string;