CelestiaProject / Celestia

Real-time 3D visualization of space.
https://celestiaproject.space
GNU General Public License v2.0
1.86k stars 309 forks source link

Show Earth's mass and show all semi-axes for non spherical bodies #2193

Closed AstroChara closed 5 months ago

AstroChara commented 5 months ago
  1. Make it so Earth's mass is shown, considering that Jupiter's mass is also shown even if it simply appears as 1.000 MJ

  2. Objects that are neither spherical or use mesh now show mean radius along with all three semi-axes, using the following format: Radius: mean (a × b × c)

  3. kg masses can now uses scientific notation if sufficiently large. No more 20,000,000,000,000,000,000 kg, just 2E+19 kg.

AstroChara commented 5 months ago

I don't know how to compile so this is untested and likely needs some fixing, so I decided to make a pull request.

AstroChara commented 5 months ago

TODO:

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud