[Marble-commits] branches/KDE/4.5/kdeedu/marble/src/lib/blendings
Torsten Rahn
tackat at t-online.de
Tue Aug 17 23:34:54 CEST 2010
Reason is that log2 doesn't compile on Windows.
On Tuesday 17 August 2010 22:34:59 Jens-Michael Hoffmann wrote:
> 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
>
> _______________________________________________
> 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