diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2007-12-19 20:59:56 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2007-12-19 20:59:56 (GMT) |
commit | 5f1fc7b0711f51dd05077303f854c658ccd9dcba (patch) | |
tree | 7d519f704a04a8f25d3e5f14ce809a7d985c4581 /Smoke/fluids.h | |
parent | a60088999da4f44bf5885f431fe78eb87d643ae7 (diff) | |
download | 2iv35-5f1fc7b0711f51dd05077303f854c658ccd9dcba.zip 2iv35-5f1fc7b0711f51dd05077303f854c658ccd9dcba.tar.gz 2iv35-5f1fc7b0711f51dd05077303f854c658ccd9dcba.tar.bz2 |
Loads of splitting, gui templates added for other elements
Diffstat (limited to 'Smoke/fluids.h')
-rw-r--r-- | Smoke/fluids.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Smoke/fluids.h b/Smoke/fluids.h index b08db20..47bb31f 100644 --- a/Smoke/fluids.h +++ b/Smoke/fluids.h @@ -43,14 +43,7 @@ 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_vecs; //draw the vector field or not -extern int scalar_col; //method for scalar coloring -extern int frozen; //toggles on/off the animation -extern int autoscale; extern int vis_dataset; -extern int mousebutton; -extern int mousebuttonstate; -extern int active_slider; extern int glyph_scalar; extern int glyph_vector; @@ -72,40 +65,13 @@ void keyboard(unsigned char key, int x, int y); void calculate_one_simulation_step(void); -int get_glyph_usage(void); - -////////////////// - -void init_simulation(int n); -int rescale_to_winwidth(float value); -void FFT(int direction,void* vx); -int clamp(float x); -void solve(int n, fftw_real* vx, fftw_real* vy, fftw_real* vx0, fftw_real* vy0, fftw_real visc, fftw_real dt); -void diffuse_matter(int n, fftw_real *vx, fftw_real *vy, fftw_real *rho, fftw_real *rho0, fftw_real dt); -void set_forces(void); -void calculate_hight_plot(void); -void copy_frame(void); -void calculate_one_simulation_step(void);; -float remap(float value); -void direction_to_color(float x, float y, int method); float get_dataset(int index); void set_autoscaling(void); -void draw_isolines(float threshold); -void visualize(void); -void keyboard(unsigned char key, int x, int y); -void click(int button, int state, int mx, int my); void mouse_rotate(int mx, int my); -void drag(int mx, int my); ////////////////// -int get_glyph_usage(void); -void selectColor(int arg); void select_dataset(int arg); -void toggle_autoscale(void); -void toggle_clamping(void); -void show_options(void); -void toggle_glyph_usage(void); void toggle_mouse_rotate(void); void toggle_seed_insert(void); void set_glyph_scalar(int arg); |