Commit Graph

6 Commits

Author SHA1 Message Date
Krafpy
1d7b74ef00 Trajectory evaluation fix and time display.
- Moved the second leg arc recalculation to the evaluation fonction,
so it is always calculated for every trajectories, not the
bes one only. It led to wrong "best" deltaV calculations.
- Fixed the accuracy of the system time when clicking on a date displayed
in maneuver details.
2021-12-24 16:26:51 +01:00
Krafpy
8da935b047 2D physics fix and error handling consistency
- Reimplemented 2D orbital mechanics functions in physics-2d.ts
and encaspulated inside a `Physics2D` namespace.
- Deleted physics.ts and moved the required functions into physics-3d.ts
Further cleaning and reimplemntation will be done on the physics-3d.ts
content.
- Forced consistency on error handling : every raised error throws
an `Error` object.
- Commented sections relative to 2D physics and sequence generation.
2021-12-19 17:19:30 +01:00
Krafpy
5f6c1b8a53 Added custom sequence input. 2021-08-21 00:47:28 +02:00
Krafpy
506244f08e Updated time class.
- Renamed `TimeAndDate` to `KSPTime`
- Updated how date is displayed to match the in game display
2021-08-17 11:56:04 +02:00
Krafpy
7d19427d18 Recompile and moved files. 2021-08-16 13:39:41 +02:00
Krafpy
824af087c1 Modified file structure.
Modified the file structure to have the `index.html` at the root
of the repository. Needed for Github Pages.
2021-08-15 21:31:25 +02:00