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