diff options
Diffstat (limited to 'Smoke/streamlines.c')
-rw-r--r-- | Smoke/streamlines.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Smoke/streamlines.c b/Smoke/streamlines.c index be3dfe4..3b54a36 100644 --- a/Smoke/streamlines.c +++ b/Smoke/streamlines.c @@ -26,6 +26,7 @@ static float streamlines_alpha = 1.0f; static fftw_real *streamlines_frame; static fftw_real **streamlines_history; +struct fftw_real_xy *streamlines_history_scalars; void streamlines_set_render(int render_streamlines) @@ -88,16 +89,29 @@ 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; +} + +struct fftw_real_xy *streamlines_get_history_scalars(void) +{ + return streamlines_history_scalars; +} + + struct color4f streamlines_get_color(float value) { |