X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_particle%2Fplant.h;h=ef7bf135ea06026877cb2f1ecca3a0d45bf53028;hb=34a3be45d6e93a8973d65e85fbede1662c2e3d0e;hp=4f0354149b8433a9d7f1615e76ad003a8b1c269f;hpb=5258ea3fc1fc9e3b45627fd217e5229fc53f305a;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_particle/plant.h b/synfig-core/trunk/src/modules/mod_particle/plant.h index 4f03541..ef7bf13 100644 --- a/synfig-core/trunk/src/modules/mod_particle/plant.h +++ b/synfig-core/trunk/src/modules/mod_particle/plant.h @@ -72,6 +72,7 @@ private: synfig::Angle split_angle; synfig::Vector gravity; synfig::Real velocity; + synfig::Real perp_velocity; synfig::Real step; synfig::Real mass; synfig::Real drag; @@ -85,15 +86,13 @@ private: mutable bool needs_sync_; mutable synfig::Mutex mutex; - void branch(int n, int depth,float t, float stunt_growth, synfig::Point position,synfig::Vector velocity)const; + void sync()const; public: Plant(); - void sync()const; - void calc_bounding_rect()const; virtual bool set_param(const String & param, const synfig::ValueBase &value);