[Marble-commits] KDE/kdeedu/marble/src/lib
Bernhard Beschow
bbeschow at cs.tu-berlin.de
Fri Jul 30 19:05:53 CEST 2010
SVN commit 1157315 by beschow:
cleanup: remove dead code & unused attributes, protect a method
M +0 -3 AbstractScanlineTextureMapper.cpp
M +1 -9 AbstractScanlineTextureMapper.h
--- trunk/KDE/kdeedu/marble/src/lib/AbstractScanlineTextureMapper.cpp #1157314:1157315
@@ -42,9 +42,6 @@
m_tileSize( textureLayer->tileSize() ), // cache tile size
m_tile( 0 ),
m_previousRadius( 0 ),
- m_n( 0 ),
- m_nInverse( 0.0 ),
- m_nBest( 0 ),
m_tileLevel( 0 ),
m_maxTileLevel( 0 ),
m_globalWidth( 0 ),
--- trunk/KDE/kdeedu/marble/src/lib/AbstractScanlineTextureMapper.h #1157314:1157315
@@ -41,9 +41,7 @@
virtual void mapTexture( ViewParams *viewParams ) = 0;
- void setMaxTileLevel( int level );
virtual void resizeMap( int width, int height );
- void selectTileLevel( ViewParams* viewParams );
bool interlaced() const;
void setInterlaced( bool enabled );
int tileZoomLevel() const;
@@ -75,6 +73,7 @@
// method for precise interpolation
void nextTile( qreal& posx, qreal& posy );
+ void selectTileLevel( ViewParams* viewParams );
void detectMaxTileLevel();
void tileLevelInit( int tileLevel );
@@ -137,8 +136,6 @@
StackedTile *m_tile;
int m_previousRadius;
- int m_n;
- qreal m_nInverse;
int m_nBest;
int m_tileLevel;
@@ -150,11 +147,6 @@
uint m_mapThemeIdHash;
};
-inline void AbstractScanlineTextureMapper::setMaxTileLevel( int level )
-{
- m_maxTileLevel = level;
-}
-
inline bool AbstractScanlineTextureMapper::interlaced() const
{
return m_interlaced;
More information about the Marble-commits
mailing list