feat: improved visualisation and x4 data import
This commit is contained in:
@@ -20,15 +20,27 @@ public sealed partial class SimulationEngine
|
||||
system.Definition.Id,
|
||||
system.Definition.Label,
|
||||
ToDto(system.Position),
|
||||
system.Definition.StarKind,
|
||||
system.Definition.StarCount,
|
||||
system.Definition.StarColor,
|
||||
system.Definition.StarSize,
|
||||
system.Definition.Stars.Select(star => new StarSnapshot(
|
||||
star.Kind,
|
||||
star.Color,
|
||||
star.Glow,
|
||||
star.Size,
|
||||
star.OrbitRadius,
|
||||
star.OrbitSpeed,
|
||||
star.OrbitPhaseAtEpoch)).ToList(),
|
||||
system.Definition.Planets.Select(planet => new PlanetSnapshot(
|
||||
planet.Label,
|
||||
planet.PlanetType,
|
||||
planet.Shape,
|
||||
planet.MoonCount,
|
||||
planet.Moons.Select(moon => new MoonSnapshot(
|
||||
moon.Label,
|
||||
moon.Size,
|
||||
moon.Color,
|
||||
moon.OrbitRadius,
|
||||
moon.OrbitSpeed,
|
||||
moon.OrbitPhaseAtEpoch,
|
||||
moon.OrbitInclination,
|
||||
moon.OrbitLongitudeOfAscendingNode)).ToList(),
|
||||
planet.OrbitRadius,
|
||||
planet.OrbitSpeed,
|
||||
planet.OrbitEccentricity,
|
||||
|
||||
Reference in New Issue
Block a user