[Marble-commits] KDE/kdeedu/marble/src/lib

Jens-Michael Hoffmann jensmh at gmx.de
Tue Jan 26 12:07:58 CET 2010


SVN commit 1080496 by jmhoffmann:

AbstractScanlineTextureMapper: Remove unused data member m_imageRadius.


 M  +0 -4      AbstractScanlineTextureMapper.cpp  
 M  +0 -1      AbstractScanlineTextureMapper.h  


--- trunk/KDE/kdeedu/marble/src/lib/AbstractScanlineTextureMapper.cpp #1080495:1080496
@@ -26,7 +26,6 @@
       m_maxGlobalY( 0 ),
       m_imageHeight( 0 ),
       m_imageWidth( 0 ),
-      m_imageRadius( 0 ),
       m_prevLat( 0.0 ),
       m_prevLon( 0.0 ),
       m_toTileCoordinatesLon( 0.0 ),
@@ -138,9 +137,6 @@
     m_imageHeight = height;
     m_imageWidth  = width;
 
-    m_imageRadius = ( m_imageWidth * m_imageWidth / 4
-                      + m_imageHeight * m_imageHeight / 4 );
-
     // Find the optimal interpolation interval m_nBest for the 
     // current image canvas width
     m_nBest = 2;
--- trunk/KDE/kdeedu/marble/src/lib/AbstractScanlineTextureMapper.h #1080495:1080496
@@ -104,7 +104,6 @@
 
     int     m_imageHeight;
     int     m_imageWidth;
-    int     m_imageRadius;
 
     // Previous coordinates
     qreal  m_prevLat;


More information about the Marble-commits mailing list