diff options
Diffstat (limited to 'Smoke/streamlines.c')
-rw-r--r-- | Smoke/streamlines.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Smoke/streamlines.c b/Smoke/streamlines.c index 1863439..4f28b83 100644 --- a/Smoke/streamlines.c +++ b/Smoke/streamlines.c @@ -11,6 +11,7 @@ #include "palette.h" #include "streamlines.h" +#include "seedpoint.h" static int streamlines_render = FALSE; static int streamlines_num_colors = PALETTE_MAXCOLORS; @@ -102,3 +103,17 @@ struct color4f streamlines_get_color(float value) return return_value; } + +void streamlines_reset_seedpoints(void) +{ + int i, nr; + + i = 0; + nr = get_cur_seedpoint(); + + while (i < nr)
+ { + delete_seedpoint(0); + i++; + } +}
\ No newline at end of file |