Exemple #1
0
 static float SafeTime(VesselWrapper vsl, Vector3d dVn)
 {
     return(CPS.SafeTime / Utils.Clamp(Mathf.Abs(Vector3.Dot(vsl.Torque.MaxCurrent.AA, vsl.LocalDir(dVn))), 0.01f, 1f));
 }
 public static Rotation Local(Vector3 current, Vector3 needed, VesselWrapper VSL) =>
 new Rotation(VSL.LocalDir(current), VSL.LocalDir(needed));