diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2007-12-13 13:27:13 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2007-12-13 13:27:13 (GMT) |
commit | 24b088df4b8fec9e3ba988e72f8bf2c27dbed347 (patch) | |
tree | 50642145b22589af38c9954b15ae693977a9648f /Smoke/fluids.h | |
parent | f0135d0ef75cb8172e5d77b5918f0cc60884bd59 (diff) | |
download | 2iv35-24b088df4b8fec9e3ba988e72f8bf2c27dbed347.zip 2iv35-24b088df4b8fec9e3ba988e72f8bf2c27dbed347.tar.gz 2iv35-24b088df4b8fec9e3ba988e72f8bf2c27dbed347.tar.bz2 |
mouse fix
Diffstat (limited to 'Smoke/fluids.h')
-rw-r--r-- | Smoke/fluids.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Smoke/fluids.h b/Smoke/fluids.h index 4c33cc1..7464e73 100644 --- a/Smoke/fluids.h +++ b/Smoke/fluids.h @@ -16,6 +16,13 @@ extern rfftwnd_plan plan_rc, plan_cr; //simulation domain discretization #define DATASET_DIVV 3 #define DATASET_DIVF 4 +#define COLOR_BLACKWHITE 0 +#define COLOR_RAINBOW 1 +#define COLOR_BANDS 2 +#define COLOR_BLUE_GREEN_RED 3 +#define COLOR_WILRIK 4 +#define COLOR_OLIVER 5 + #define MOUSE_SMOKE 0 #define MOUSE_SCALE_MIN 1 #define MOUSE_SCALE_MAX 2 @@ -42,11 +49,6 @@ extern int color_dir; //use direction color-coding or not extern float vec_scale; //scaling of hedgehogs extern int draw_smoke; //draw the smoke or not extern int draw_vecs; //draw the vector field or not -extern const int COLOR_BLACKWHITE; //different types of color mapping: black-and-white, rainbow, banded -extern const int COLOR_RAINBOW; -extern const int COLOR_BANDS; -extern const int COLOR_WILRIK; -extern const int COLOR_OLIVER; extern int scalar_col; //method for scalar coloring extern int frozen; //toggles on/off the animation extern int olivers_color; @@ -64,10 +66,6 @@ extern int glyph_scalar; extern int glyph_vector; extern int draw_options; -extern float x_rot;
-extern float y_rot;
-extern float z_rot; - void init_simulation(int n); void visualize(void); |