mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix things not being circles
This commit is contained in:
parent
e67c93122b
commit
cdd1f9cd67
@ -55,7 +55,7 @@ namespace NewHorizons.Components.Orbital
|
||||
var r = p / (1 + eccentricity * Mathf.Cos(f));
|
||||
|
||||
var G = GravityVolume.GRAVITATIONAL_CONSTANT;
|
||||
var mu = G * (primaryMass + secondaryMass);
|
||||
var mu = G * (primaryMass);
|
||||
|
||||
var r_p = semiMajorAxis * (1 - eccentricity);
|
||||
var r_a = semiMajorAxis * (1 + eccentricity);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user