mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-02-01 10:30:08 -05:00
Fix falloff2
Fix falloff2
This commit is contained in:
parent
ef56c16b2b
commit
f42d50e1bd
@ -2392,6 +2392,7 @@ public:
|
||||
<< "\t\t }\n"
|
||||
<< "\t\t break;\n"
|
||||
<< "\t\t case 2:\n"
|
||||
<< "\t\t {\n"
|
||||
<< "\t\t real_t sigma = dist * randy * M_2PI;\n"
|
||||
<< "\t\t real_t phi = dist * randz * M_PI;\n"
|
||||
<< "\t\t real_t rad = dist * randx;\n"
|
||||
@ -2406,6 +2407,7 @@ public:
|
||||
<< "\t\t outPoint->m_ColorX = fabs(fmod(outPoint->m_ColorX + " << mulC << " * randc * dist, 1.0));\n"
|
||||
<< "\t\t break;\n"
|
||||
<< "\t\t }\n"
|
||||
<< "\t\t}\n"
|
||||
<< "\t}\n";
|
||||
|
||||
return ss.str();
|
||||
|
Loading…
Reference in New Issue
Block a user