diff options
Diffstat (limited to 'Smoke/streamlines.c')
-rw-r--r-- | Smoke/streamlines.c | 27 |
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; |