summaryrefslogtreecommitdiffstats
path: root/Smoke/streamlines.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2008-01-10 21:10:50 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2008-01-10 21:10:50 (GMT)
commit37e4a2a9857669837417b0b5e6ba35248bec9030 (patch)
tree36d3cccee52404e450f1fc76051a9cf01aab89cb /Smoke/streamlines.c
parentdcab21f30e9c451bfc2b7e65d90323b5e11a8612 (diff)
download2iv35-37e4a2a9857669837417b0b5e6ba35248bec9030.zip
2iv35-37e4a2a9857669837417b0b5e6ba35248bec9030.tar.gz
2iv35-37e4a2a9857669837417b0b5e6ba35248bec9030.tar.bz2
moved history to flowvis "smoke history"
Diffstat (limited to 'Smoke/streamlines.c')
-rw-r--r--Smoke/streamlines.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/Smoke/streamlines.c b/Smoke/streamlines.c
index 6bae373..0239fcf 100644
--- a/Smoke/streamlines.c
+++ b/Smoke/streamlines.c
@@ -19,23 +19,8 @@ static int streamlines_dataset = DATASET_RHO;
static float streamlines_alpha = 1.0f;
static fftw_real *streamlines_frame;
-static fftw_real **streamlines_history;
struct fftw_real_xy *streamlines_history_scalars;
-static int hisdex = 0;
-
-void streamlines_set_hisdex(int arg)
-{
- int idx = (fluids_get_hisdex() + 1) % HISTORY_SIZE;
-
- hisdex = (arg + idx) % HISTORY_SIZE;
-}
-
-int streamlines_get_hisdex(void)
-{
- return hisdex;
-}
-
void streamlines_set_render(int render_streamlines)
{
streamlines_render = render_streamlines;
@@ -96,18 +81,6 @@ fftw_real *streamlines_get_frame(void)
return streamlines_frame;
}
-/* rename and move to flowvis */
-void streamlines_set_history(fftw_real **history)
-{
- streamlines_history = history;
-}
-
-/* rename and move to flowvis */
-fftw_real *streamlines_get_history(int hisdex)
-{
- return streamlines_history[hisdex];
-}
-
void streamlines_set_history_scalars(struct fftw_real_xy *history)
{
streamlines_history_scalars = history;