mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-02-01 18:40:12 -05:00
--Bug fixes
-Remove old flam3 opacity/vizadjusted code. It makes no sense and produces bad results.
This commit is contained in:
parent
dc8271b39a
commit
a83c0f95bc
@ -1244,10 +1244,11 @@ private:
|
||||
/// <returns>The adjusted opacity</returns>
|
||||
static T AdjustOpacityPercentage(T in)
|
||||
{
|
||||
if (in == 0)
|
||||
return in;
|
||||
/* if (in == 0)
|
||||
return 0;
|
||||
else
|
||||
return std::pow(T(10.0), -std::log(T(1.0) / T(in)) / std::log(T(2)));
|
||||
else
|
||||
return std::pow(T(10.0), -std::log(T(1.0) / T(in)) / std::log(T(2)));*/
|
||||
}
|
||||
|
||||
vector<T> m_Xaos;//Xaos vector which affects the probability that this xform is chosen. Usually empty.
|
||||
|
Loading…
Reference in New Issue
Block a user