Remove redundant lines and refactor UI.

This commit is contained in:
2021-08-01 21:32:00 -04:00
parent 47c37558a9
commit 4da7d50167
3 changed files with 70 additions and 84 deletions

View File

@ -1,5 +1,4 @@
// functions for calculating steering values.
@lazyglobal off.
function GetPitch {
parameter v is SHIP:FACING:FOREVECTOR.

View File

@ -1,7 +1,5 @@
// Functions for calculating values related to throttle and thrust.
@lazyglobal off.
// point gravity for TWR calculations.
local G is 0.
lock G to SHIP:BODY:MU / ((SHIP:BODY:RADIUS+SHIP:ALTITUDE)^2).