diff options
Diffstat (limited to 'Smoke/streamlines.c')
-rw-r--r-- | Smoke/streamlines.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Smoke/streamlines.c b/Smoke/streamlines.c index 4f28b83..1edfe7d 100644 --- a/Smoke/streamlines.c +++ b/Smoke/streamlines.c @@ -18,6 +18,7 @@ static int streamlines_num_colors = PALETTE_MAXCOLORS; static int streamlines_colormap = PALETTE_BLACKWHITE; static int streamlines_dataset = DATASET_RHO; static float streamlines_alpha = 1.0f; +static int streamlines_sort = STREAMLINES_SORT_LINES; static fftw_real *streamlines_frame; struct fftw_real_xy **streamlines_history_scalars; @@ -52,6 +53,16 @@ int streamlines_get_colormap(void) return streamlines_colormap; } +void streamlines_set_sort(int sort) +{ + streamlines_sort = sort; +} + +int streamlines_get_sort(void) +{ + return streamlines_sort; +} + void streamlines_set_alpha(float alpha) { streamlines_alpha = alpha; |