mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-05 17:39:39 -04:00
This reverts commit d9fbdd5269c53cc196b3a7fc0c18077d6060f06d.
This commit is contained in:
parent
2915045ba9
commit
7c209efb9f
@ -68,7 +68,7 @@ namespace Observatory.Explorer
|
||||
foreach (var ring in parent.Rings)
|
||||
{
|
||||
var separation = Math.Min(Math.Abs(scan.SemiMajorAxis - ring.OuterRad), Math.Abs(ring.InnerRad - scan.SemiMajorAxis));
|
||||
if (separation < scan.Radius * 10 && !ring.Name.Contains("Belt"))
|
||||
if (separation < scan.Radius * 10)
|
||||
{
|
||||
results.Add("Close Ring Proximity", $"Orbit: {scan.SemiMajorAxis / 1000:N0}km, Radius: {scan.Radius / 1000:N0}km, Distance from ring: {separation / 1000:N0}km");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user