summaryrefslogtreecommitdiffstats
path: root/Smoke/streamlines.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2008-01-10 21:54:34 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2008-01-10 21:54:34 (GMT)
commitc8c41f2f654c3a5283a299c27fd29fd47aaafe4f (patch)
tree6ed68e75ec641bef73fefb7414ab3693b18cf53d /Smoke/streamlines.c
parent28f4e6ec12a168ac260ba1143a31af8116eda43d (diff)
download2iv35-c8c41f2f654c3a5283a299c27fd29fd47aaafe4f.zip
2iv35-c8c41f2f654c3a5283a299c27fd29fd47aaafe4f.tar.gz
2iv35-c8c41f2f654c3a5283a299c27fd29fd47aaafe4f.tar.bz2
crap
Diffstat (limited to 'Smoke/streamlines.c')
-rw-r--r--Smoke/streamlines.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Smoke/streamlines.c b/Smoke/streamlines.c
index 0239fcf..1863439 100644
--- a/Smoke/streamlines.c
+++ b/Smoke/streamlines.c
@@ -19,7 +19,7 @@ static int streamlines_dataset = DATASET_RHO;
static float streamlines_alpha = 1.0f;
static fftw_real *streamlines_frame;
-struct fftw_real_xy *streamlines_history_scalars;
+struct fftw_real_xy **streamlines_history_scalars;
void streamlines_set_render(int render_streamlines)
{
@@ -81,14 +81,14 @@ fftw_real *streamlines_get_frame(void)
return streamlines_frame;
}
-void streamlines_set_history_scalars(struct fftw_real_xy *history)
+void streamlines_set_history_scalars(struct fftw_real_xy **history)
{
streamlines_history_scalars = history;
}
-struct fftw_real_xy *streamlines_get_history_scalars(void)
+struct fftw_real_xy *streamlines_get_history_scalars(int hisdex)
{
- return streamlines_history_scalars;
+ return streamlines_history_scalars[hisdex];
}