From f42d50e1bdd28ff7cb54c04e9288cbd325e272a9 Mon Sep 17 00:00:00 2001 From: mfeemster Date: Tue, 8 Jul 2014 19:33:31 -0700 Subject: [PATCH] Fix falloff2 Fix falloff2 --- Source/Ember/Variations05.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Ember/Variations05.h b/Source/Ember/Variations05.h index 4df8f4d..d721b32 100644 --- a/Source/Ember/Variations05.h +++ b/Source/Ember/Variations05.h @@ -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" @@ -2405,6 +2406,7 @@ public: << "\t\t vOut.z = vIn.z + " << mulZ << " * rad * sigmas;\n" << "\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";