Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Epsilon, add IsZeroApprox semantic, and update to Unity 2018.3.14f1 #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Ensure files are saved correctly
One newline character at the end, and UTF-8, as per POSIX standard.
  • Loading branch information
aaronfranke committed Nov 11, 2019
commit d5667abea36afeaa14d6e6f85ea8477e22611226
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
Expand Down Expand Up @@ -461,4 +461,4 @@ public static TrajectoryData CalcTransitionTrajectory(Vector3d p0, Vector3d p1,
return result;
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using UnityEngine;
using UnityEngine;

namespace SimpleKeplerOrbits
{
Expand Down Expand Up @@ -175,4 +175,4 @@ private void AutoFindLineRenderer()
}
#endif
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Collections;
using System.Collections;
using UnityEngine;

namespace SimpleKeplerOrbits
Expand Down Expand Up @@ -336,4 +336,4 @@ public void ResetOrbit()
OrbitData = new KeplerOrbitData();
}
}
}
}
4 changes: 2 additions & 2 deletions Assets/SimpleKeplerOrbits/Scripts/Data/AttractorData.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using UnityEngine;
using UnityEngine;

namespace SimpleKeplerOrbits
{
Expand All @@ -12,4 +12,4 @@ public class AttractorData
public float AttractorMass = 1000;
public float GravityConstant = 0.1f;
}
}
}
4 changes: 2 additions & 2 deletions Assets/SimpleKeplerOrbits/Scripts/Data/EllipseData.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using UnityEngine;
using UnityEngine;

namespace SimpleKeplerOrbits
{
Expand Down Expand Up @@ -82,4 +82,4 @@ public void DebugDrawEllipse(Color color)
}
}
}
}
}
2 changes: 1 addition & 1 deletion Assets/SimpleKeplerOrbits/Scripts/Data/HyperbolaData.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using UnityEngine;
using UnityEngine;

namespace SimpleKeplerOrbits
{
Expand Down
4 changes: 2 additions & 2 deletions Assets/SimpleKeplerOrbits/Scripts/Data/TransitionOrbitData.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using UnityEngine;

namespace SimpleKeplerOrbits
Expand All @@ -14,4 +14,4 @@ public class TransitionOrbitData
public float EccAnomalyStart;
public float EccAnomalyEnd;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using UnityEngine;
using UnityEngine;
using UnityEditor;

namespace SimpleKeplerOrbits
Expand Down Expand Up @@ -60,4 +60,4 @@ public override void OnInspectorGUI()
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using UnityEditor;
using UnityEditor;
using UnityEngine;

namespace SimpleKeplerOrbits
Expand Down Expand Up @@ -92,4 +92,4 @@ public override void OnInspectorGUI()
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -597,4 +597,4 @@ public static Transform FindMutualAttractor(KeplerOrbitMover a, KeplerOrbitMover
return null;
}
}
}
}