projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add boolean parameter 'Positive Only' to stop negative affect from large distances.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
example
/
metaballs.h
diff --git
a/synfig-core/trunk/src/modules/example/metaballs.h
b/synfig-core/trunk/src/modules/example/metaballs.h
index
22567d2
..
ee3bda5
100644
(file)
--- a/
synfig-core/trunk/src/modules/example/metaballs.h
+++ b/
synfig-core/trunk/src/modules/example/metaballs.h
@@
-51,7
+51,9
@@
private:
std::vector<synfig::Real> weights;
synfig::Real threshold;
std::vector<synfig::Real> weights;
synfig::Real threshold;
- //Real threshold2;
+ synfig::Real threshold2;
+
+ bool positive;
synfig::Real totaldensity(const synfig::Point &pos)const;
synfig::Real totaldensity(const synfig::Point &pos)const;