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

@@ -34,13 +34,24 @@ public sealed record SystemSnapshot(
string Id,
string Label,
Vector3Dto Position,
string StarKind,
int StarCount,
string StarColor,
float StarSize,
IReadOnlyList<PlanetSnapshot> Planets);
public sealed record PlanetSnapshot(
string Label,
string PlanetType,
string Shape,
int MoonCount,
float OrbitRadius,
float OrbitSpeed,
float OrbitEccentricity,
float OrbitInclination,
float OrbitLongitudeOfAscendingNode,
float OrbitArgumentOfPeriapsis,
float OrbitPhaseAtEpoch,
float Size,
string Color,
bool HasRing);
@@ -49,6 +60,7 @@ public sealed record ResourceNodeSnapshot(
string Id,
string SystemId,
Vector3Dto Position,
string SourceKind,
float OreRemaining,
float MaxOre,
string ItemId);
@@ -57,6 +69,7 @@ public sealed record ResourceNodeDelta(
string Id,
string SystemId,
Vector3Dto Position,
string SourceKind,
float OreRemaining,
float MaxOre,
string ItemId);