diff options
author | Wilrik de Loose <wilrik@wilrik.nl> | 2007-12-14 12:24:48 (GMT) |
---|---|---|
committer | Wilrik de Loose <wilrik@wilrik.nl> | 2007-12-14 12:24:48 (GMT) |
commit | ab8aa770afa4fd72e4078f5c8703f91817b2d6c5 (patch) | |
tree | c8a2c6643055ed430c00538e33b17295f7029102 /Smoke/streamlines.c | |
parent | dbc6530ef4b5a5ce4284b0cb32e2f61677b47b18 (diff) | |
download | 2iv35-ab8aa770afa4fd72e4078f5c8703f91817b2d6c5.zip 2iv35-ab8aa770afa4fd72e4078f5c8703f91817b2d6c5.tar.gz 2iv35-ab8aa770afa4fd72e4078f5c8703f91817b2d6c5.tar.bz2 |
streamlines + colormap files
Diffstat (limited to 'Smoke/streamlines.c')
-rw-r--r-- | Smoke/streamlines.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Smoke/streamlines.c b/Smoke/streamlines.c new file mode 100644 index 0000000..51e9fa0 --- /dev/null +++ b/Smoke/streamlines.c @@ -0,0 +1,26 @@ +// Includes
+
+#ifdef G_OS_WIN32
+#define WIN32_LEAN_AND_MEAN 1
+#include <windows.h>
+#endif
+
+#include "fluids.h"
+#include "streamlines.h"
+#include "seedpoint.h"
+
+void render_streamlines(void)
+{
+ int i, j, max;
+ i = j = max = 0;
+
+ max = get_cur_seedpoint();
+
+ for (i = 0; i < max; i++)
+ {
+ while (frame_hist[j] != NULL)
+ {
+ j++;
+ }
+ }
+}
\ No newline at end of file |