diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2007-12-18 18:24:04 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2007-12-18 18:24:04 (GMT) |
commit | c287b3f591fe3e10dceedfd90a5ce71b2c703988 (patch) | |
tree | 98a1fe82d85e97199b099a720e9784064f8430b9 /Smoke/fluids.h | |
parent | 9363bc6887a7ffb9ea6c0f6a63a93c215e227502 (diff) | |
download | 2iv35-c287b3f591fe3e10dceedfd90a5ce71b2c703988.zip 2iv35-c287b3f591fe3e10dceedfd90a5ce71b2c703988.tar.gz 2iv35-c287b3f591fe3e10dceedfd90a5ce71b2c703988.tar.bz2 |
More cleaning up, seperating modules etc
Diffstat (limited to 'Smoke/fluids.h')
-rw-r--r-- | Smoke/fluids.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/Smoke/fluids.h b/Smoke/fluids.h index ffec3a2..68e14e5 100644 --- a/Smoke/fluids.h +++ b/Smoke/fluids.h @@ -1,10 +1,6 @@ #ifndef _FLUIDS_H #define _FLUIDS_H -#include <rfftw.h> -#include <GL/gl.h> -#include <GL/glu.h> - //--- SIMULATION PARAMETERS ------------------------------------------------------------------------ extern const int DIM; //size of simulation grid @@ -47,7 +43,6 @@ extern int frame_index; extern int winWidth, winHeight; //size of the graphics window, in pixels 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 int scalar_col; //method for scalar coloring extern int frozen; //toggles on/off the animation @@ -105,8 +100,6 @@ void drag(int mx, int my); ////////////////// -void zoom_in(int zoom); -void zoom_out(int zoom); int get_glyph_usage(void); void selectColor(int arg); void select_dataset(int arg); @@ -114,7 +107,6 @@ void toggle_autoscale(void); void toggle_clamping(void); void show_options(void); void toggle_glyph_usage(void); -void toggle_smoke_usage(void); void toggle_mouse_rotate(void); void toggle_seed_insert(void); void set_glyph_scalar(int arg); @@ -131,4 +123,15 @@ 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; + +/* Setters and getters */ +void fluids_set_render_smoke(int render_smoke); +int fluids_get_render_smoke(void); + #endif |