summaryrefslogtreecommitdiffstats
path: root/Smoke/gtk.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2008-01-09 13:02:54 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2008-01-09 13:02:54 (GMT)
commit29e82f50f6f23b1a344b486f377d918425e37188 (patch)
tree6d5ff663d8ef89898d5584eab9f63f45126b145a /Smoke/gtk.c
parent4f8eda57dc837193ea25737b28d3514b3858639f (diff)
download2iv35-29e82f50f6f23b1a344b486f377d918425e37188.zip
2iv35-29e82f50f6f23b1a344b486f377d918425e37188.tar.gz
2iv35-29e82f50f6f23b1a344b486f377d918425e37188.tar.bz2
simulation reset added; colormap autoscaling moved to fluids main loop
Diffstat (limited to 'Smoke/gtk.c')
-rw-r--r--Smoke/gtk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Smoke/gtk.c b/Smoke/gtk.c
index fc2971a..537a7f3 100644
--- a/Smoke/gtk.c
+++ b/Smoke/gtk.c
@@ -203,7 +203,7 @@ expose_event (GtkWidget *widget,
// fluids
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
- calculate_one_simulation_step(vis_data);
+ fluids_calculate_one_simulation_step(vis_data);
visualize(vis_data);
// endf
@@ -876,7 +876,7 @@ main (int argc,
struct vis_data_arrays vis_data;
/* Initialize the simulation */
- init_simulation(50, &vis_data);
+ fluids_init_simulation(50, &vis_data);
/* Initialize GTK. */
gtk_init (&argc, &argv);