diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2007-12-20 01:34:35 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2007-12-20 01:34:35 (GMT) |
commit | 4aabbced4987d0321827e4ae8bbd2e928205c9ba (patch) | |
tree | bad531cdacb7b4ce76e19f467e0c90677654c548 /Smoke/fluids.h | |
parent | c087310ffc1618cac7d0100b5492794f5d03db20 (diff) | |
download | 2iv35-4aabbced4987d0321827e4ae8bbd2e928205c9ba.zip 2iv35-4aabbced4987d0321827e4ae8bbd2e928205c9ba.tar.gz 2iv35-4aabbced4987d0321827e4ae8bbd2e928205c9ba.tar.bz2 |
moved alpha value constant to each of their own classes;
flowvis now draws copy of frame
Diffstat (limited to 'Smoke/fluids.h')
-rw-r--r-- | Smoke/fluids.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Smoke/fluids.h b/Smoke/fluids.h index 47bb31f..f1de92e 100644 --- a/Smoke/fluids.h +++ b/Smoke/fluids.h @@ -51,9 +51,7 @@ extern float xPos; extern float yPos; extern float zPos; -void init_simulation(int n); - -void visualize(void); +fftw_real *init_simulation(int n); int rescale_to_winwidth(float value); @@ -63,7 +61,7 @@ void click(int button, int state, int mx, int my); void keyboard(unsigned char key, int x, int y); -void calculate_one_simulation_step(void); +void calculate_one_simulation_step(fftw_real *field); float get_dataset(int index); void set_autoscaling(void); |