diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2008-07-07 01:55:03 +0400 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2008-07-07 01:55:03 +0400 |
commit | 7bbf88d602368733e66cf00b4f70947ef83b3b64 (patch) | |
tree | 2b7b04b1b7f1f6da0c5a398d5438f6b5cc650fb1 /intern/elbeem/extern | |
parent | b3303c98b1143a20794189eb60007f659d96c7eb (diff) |
Added 4 gui elements to structs, another 2-3 will follow; Unsolved problems: simulation and control time desync
Diffstat (limited to 'intern/elbeem/extern')
-rw-r--r-- | intern/elbeem/extern/elbeem.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/intern/elbeem/extern/elbeem.h b/intern/elbeem/extern/elbeem.h index 2599432e8b8..5c1fc644827 100644 --- a/intern/elbeem/extern/elbeem.h +++ b/intern/elbeem/extern/elbeem.h @@ -116,7 +116,7 @@ typedef struct elbeemSimulationSettings { // a single mesh object typedef struct elbeemMesh { - /* obstacle,fluid or inflow... */ + /* obstacle,fluid or inflow or control ... */ short type; /* id of simulation domain it belongs to */ short parentDomainId; @@ -158,6 +158,13 @@ typedef struct elbeemMesh { /* name of the mesh, mostly for debugging */ const char *name; + + /* fluid control settings */ + // TODO dg: change to channels + float attractforceStrength; + float attractforceRadius; + float velocityforceStrength; + float velocityforceRadius; } elbeemMesh; // API functions |