[Marble-commits]	branches/KDE/4.5/kdeedu/marble/src/lib/blendings
    Jens-Michael Hoffmann 
    jensmh at gmx.de
       
    Tue Aug 17 22:34:59 CEST 2010
    
    
  
Am Montag 16 August 2010, 18:52:38 schrieb Torsten Rahn:
> SVN commit 1164388 by rahn:
> 
> - Backport of 1135592
> 
> 
> 
>  M  +1 -1      BlendingAlgorithms.cpp
> 
> 
> --- branches/KDE/4.5/kdeedu/marble/src/lib/blendings/BlendingAlgorithms.cpp
> #1164387:1164388 @@ -131,7 +131,7 @@
>  qreal DivideBlending::blendChannel( qreal const bottomColorIntensity,
>                                      qreal const topColorIntensity ) const
>  {
> -    return log2( 1.0 + bottomColorIntensity / ( 1.0 - topColorIntensity )
> / 8.0 ); +    return log( 1.0  + bottomColorIntensity / ( 1.0  -
> topColorIntensity ) / 8.0) / log(2.0); }
Out of curiousity: is this faster or what is the reason for it?
kind regards,
Jens-Michael
>  qreal GammaDarkBlending::blendChannel( qreal const bottomColorIntensity,
> _______________________________________________
> Marble-commits mailing list
> Marble-commits at kde.org
> https://mail.kde.org/mailman/listinfo/marble-commits
    
    
More information about the Marble-commits
mailing list