Add boolean parameter 'Positive Only' to stop negative affect from large distances.
[synfig.git] / synfig-core / trunk / src / modules / example / metaballs.h
index b52d98e..ee3bda5 100644 (file)
@@ -53,6 +53,8 @@ private:
        synfig::Real    threshold;
        synfig::Real    threshold2;
 
+       bool positive;
+
        synfig::Real totaldensity(const synfig::Point &pos)const;
 
 public: