diff options
author | Wilrik de Loose <wilrik@wilrik.nl> | 2008-01-10 22:18:46 (GMT) |
---|---|---|
committer | Wilrik de Loose <wilrik@wilrik.nl> | 2008-01-10 22:18:46 (GMT) |
commit | 398578956e01518523a05d4245a2ce488955cf97 (patch) | |
tree | 7adacc47cf4a6b35eac9af0a07a39f790d9dc29e /Smoke/streamlines.c | |
parent | c8c41f2f654c3a5283a299c27fd29fd47aaafe4f (diff) | |
download | 2iv35-398578956e01518523a05d4245a2ce488955cf97.zip 2iv35-398578956e01518523a05d4245a2ce488955cf97.tar.gz 2iv35-398578956e01518523a05d4245a2ce488955cf97.tar.bz2 |
'streamlines'
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 |