feature/19
Daniel Warner 2011-04-01 12:03:13 +01:00
parent 4a7d07535e
commit 53aabaada7
1 changed files with 4 additions and 0 deletions

View File

@ -311,6 +311,10 @@ void SGDP4::FindPositionSDP4(Eci& eci, double tsince) {
DeepSpacePeriodics(tsince, e, xincl, omega, xnode, xmam);
/*
* keeping xincl positive important unless you need to display xincl
* and dislike negative inclinations
*/
if (xincl < 0.0) {
xincl = -xincl;
xnode += Globals::PI();