mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-18 14:14:53 -04:00
--Bug fixes
-Numbering of rendered files was wrong. -Truchet_hex_fill was not compiling with some newer Nvidia drivers. --Code changes -Update Wix installer to use VS 2019.
This commit is contained in:
@ -86,7 +86,7 @@ public:
|
||||
string holesweight = "parVars[" + ToUpper(m_Params[i++].Name()) + index;
|
||||
ss << "\t{\n"
|
||||
<< "\t\treal_t theta = precalcAtanyx;\n"
|
||||
<< "\t\treal_t t = (!" << thicknessweight << " ? " << weight << " : MwcNext01(mwc) * " << thicknessweight << ") / cos(" << n << " * theta) - " << holesweight << ";\n"
|
||||
<< "\t\treal_t t = (" << thicknessweight << " == (real_t)(0.0) ? " << weight << " : MwcNext01(mwc) * " << thicknessweight << ") / cos(" << n << " * theta) - " << holesweight << ";\n"
|
||||
<< "\n"
|
||||
<< "\t\tif (fabs(t) != 0)\n"
|
||||
<< "\t\t{\n"
|
||||
|
Reference in New Issue
Block a user