[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Tue Aug 31 21:20:26 CEST 2010
SVN commit 1170391 by jmhoffmann:
AbstractScanlineTextureMapper: Use canonical abbreviations lon/lat.
M +4 -4 AbstractScanlineTextureMapper.h
--- trunk/KDE/kdeedu/marble/src/lib/AbstractScanlineTextureMapper.h #1170390:1170391
@@ -82,8 +82,8 @@
// Converts Radian to global texture coordinates
// ( with origin in center, measured in pixel)
- qreal rad2PixelX( const qreal longitude ) const;
- qreal rad2PixelY( const qreal latitude ) const;
+ qreal rad2PixelX( const qreal lon ) const;
+ qreal rad2PixelY( const qreal lat ) const;
// Checks whether the pixelValueApprox method will make use of more than
// one tile
@@ -166,9 +166,9 @@
return m_globalHeight;
}
-inline qreal AbstractScanlineTextureMapper::rad2PixelX( const qreal longitude ) const
+inline qreal AbstractScanlineTextureMapper::rad2PixelX( const qreal lon ) const
{
- return longitude * m_normGlobalWidth;
+ return lon * m_normGlobalWidth;
}
inline qreal AbstractScanlineTextureMapper::rad2PixelY( const qreal lat ) const
More information about the Marble-commits
mailing list