diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2008-01-03 11:50:30 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2008-01-03 11:50:30 (GMT) |
commit | ff646235f1ab52e6cb894eec0e93d6f00dc4d71c (patch) | |
tree | faa868f360f0094005376da235827d5715c408e8 /Smoke/fluids.h | |
parent | c2e9578dd9b5c4f547485a0db6127401c902547e (diff) | |
download | 2iv35-ff646235f1ab52e6cb894eec0e93d6f00dc4d71c.zip 2iv35-ff646235f1ab52e6cb894eec0e93d6f00dc4d71c.tar.gz 2iv35-ff646235f1ab52e6cb894eec0e93d6f00dc4d71c.tar.bz2 |
fixes additions etc
Diffstat (limited to 'Smoke/fluids.h')
-rw-r--r-- | Smoke/fluids.h | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/Smoke/fluids.h b/Smoke/fluids.h index 9814e16..b8383d3 100644 --- a/Smoke/fluids.h +++ b/Smoke/fluids.h @@ -23,12 +23,6 @@ extern int frame_index; #define DATASET_DIVV 3 #define DATASET_DIVF 4 -#define MOUSE_SMOKE 0 -#define MOUSE_SCALE_MIN 1 -#define MOUSE_SCALE_MAX 2 -#define MOUSE_CLAMP_MIN 3 -#define MOUSE_CLAMP_MAX 4 - #define SCALAR_RHO 0 #define SCALAR_VEL 1 #define SCALAR_FORCE 2 @@ -47,31 +41,18 @@ extern int vis_dataset; extern int glyph_scalar; extern int glyph_vector; -extern float xPos; -extern float yPos; -extern float zPos; - fftw_real *init_simulation(int n); int rescale_to_winwidth(float value); -void drag(int mx, int my); - -void click(int button, int state, int mx, int my); - -void keyboard(unsigned char key, int x, int y); - void calculate_one_simulation_step(fftw_real *field); float get_dataset(int index); void set_autoscaling(void); -void mouse_rotate(int mx, int my); ////////////////// void select_dataset(int arg); -void toggle_mouse_rotate(void); -void toggle_seed_insert(void); void set_glyph_scalar(int arg); void set_glyph_vector(int arg); @@ -86,12 +67,11 @@ struct point { float z; }; -extern float x_rot; -extern float y_rot; -extern float z_rot; + extern int isolines_nr; extern float threshold1; extern float threshold2; +extern int active_slider; void fluids_set_calculate(int calculate); int fluids_get_calculate(void); |