[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/kstars/kstars/skyobjects
From:       Alexey Khudyakov <alexey.skladnoy () gmail ! com>
Date:       2011-03-07 9:59:35
Message-ID: 20110307095935.68171AC8CA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1224036 by khudyakov:

Remove mutable from RA0 and dec0 in SkyPoint

 M  +1 -1      skypoint.cpp  
 M  +2 -2      skypoint.h  


--- trunk/KDE/kdeedu/kstars/kstars/skyobjects/skypoint.cpp #1224035:1224036
@@ -189,7 +189,7 @@
     Dec.setRadians( asin( v[2] ) );
 }
 
-SkyPoint SkyPoint::deprecess( const KSNumbers *num, long double epoch ) const {
+SkyPoint SkyPoint::deprecess( const KSNumbers *num, long double epoch ) {
     SkyPoint p1( RA, Dec );
     long double now = num->julianDay();
     p1.precessFromAnyEpoch( now, epoch );
--- trunk/KDE/kdeedu/kstars/kstars/skyobjects/skypoint.h #1224035:1224036
@@ -302,7 +302,7 @@
      * of this skypoint. Also set the RA0, Dec0 of this SkyPoint if not
      * set already.
      */
-    SkyPoint deprecess( const KSNumbers *num, long double epoch=J2000 ) const;
+    SkyPoint deprecess( const KSNumbers *num, long double epoch=J2000 );
 
     /**Determine the effects of aberration for this SkyPoint.
     	*@param num pointer to KSNumbers object containing current values of
@@ -498,7 +498,7 @@
 
 
 private:
-    mutable dms RA0, Dec0; //catalog coordinates
+    dms RA0, Dec0; //catalog coordinates
     dms RA, Dec; //current true sky coordinates
     dms Alt, Az;
 };
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic