[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kstars] kstars/skyobjects: Rename stepp -> step
From: Khudyakov Alexey <alexey.skladnoy () gmail ! com>
Date: 2011-07-23 20:07:53
Message-ID: 20110723200753.17011A60B4 () git ! kde ! org
[Download RAW message or body]
Git commit d5952fb1b8b2451a2711d679b678cad262b0049c by Khudyakov Alexey.
Committed on 23/07/2011 at 15:38.
Pushed by khudyakov into branch 'master'.
Rename stepp -> step
M +4 -4 kstars/skyobjects/satellite.cpp
http://commits.kde.org/kstars/d5952fb1b8b2451a2711d679b678cad262b0049c
diff --git a/kstars/skyobjects/satellite.cpp b/kstars/skyobjects/satellite.cpp
index eec167f..ce99d1a 100644
--- a/kstars/skyobjects/satellite.cpp
+++ b/kstars/skyobjects/satellite.cpp
@@ -723,7 +723,7 @@ int Satellite::sgp4( double tsince )
const double g52 = 1.0508330;
const double g54 = 4.4108898;
const double rptim = 4.37526908801129966e-3; // this equates to 7.29211514668855e-5 rad/sec
- const double stepp = 720.0;
+ const double step = 720.0;
const double step2 = 259200.0;
// Calculate deep space resonance effects
@@ -746,9 +746,9 @@ int Satellite::sgp4( double tsince )
}
if ( tsince > 0.0 )
- delt = stepp;
+ delt = step;
else
- delt = -stepp;
+ delt = -step;
iretn = 381; // added for do loop
@@ -782,7 +782,7 @@ int Satellite::sgp4( double tsince )
xnddt = xnddt * xldot;
}
- if ( fabs( tsince - atime ) >= stepp ) {
+ if ( fabs( tsince - atime ) >= step ) {
iretn = 381;
} else {
ft = tsince - atime;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic