Add boolean parameter 'Positive Only' to stop negative affect from large distances.
[synfig.git] / synfig-core / trunk / src / modules / example / metaballs.h
index 22567d2..ee3bda5 100644 (file)
@@ -51,7 +51,9 @@ private:
        std::vector<synfig::Real>       weights;
 
        synfig::Real    threshold;
-       //Real  threshold2;
+       synfig::Real    threshold2;
+
+       bool positive;
 
        synfig::Real totaldensity(const synfig::Point &pos)const;