summaryrefslogtreecommitdiffstats
path: root/Smoke/renderer_gl.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2008-01-10 21:54:34 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2008-01-10 21:54:34 (GMT)
commitc8c41f2f654c3a5283a299c27fd29fd47aaafe4f (patch)
tree6ed68e75ec641bef73fefb7414ab3693b18cf53d /Smoke/renderer_gl.c
parent28f4e6ec12a168ac260ba1143a31af8116eda43d (diff)
download2iv35-c8c41f2f654c3a5283a299c27fd29fd47aaafe4f.zip
2iv35-c8c41f2f654c3a5283a299c27fd29fd47aaafe4f.tar.gz
2iv35-c8c41f2f654c3a5283a299c27fd29fd47aaafe4f.tar.bz2
crap
Diffstat (limited to 'Smoke/renderer_gl.c')
-rw-r--r--Smoke/renderer_gl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Smoke/renderer_gl.c b/Smoke/renderer_gl.c
index 96c99af..cd2e5c8 100644
--- a/Smoke/renderer_gl.c
+++ b/Smoke/renderer_gl.c
@@ -737,13 +737,14 @@ static void render_streamlines(void)
i = j = k = l = 0;
DIM = fluids_get_dim();
+#if 0
for (i = 0; i < get_cur_seedpoint(); i++)
{
p = get_seedpoint(i);
glBegin(GL_LINE_STRIP);
- frame_history = streamlines_get_history_scalars();
+ frame_history = streamlines_get_history_scalars(i);
for (j = 0; j < HISTORY_SIZE; j++)
{
@@ -762,6 +763,7 @@ static void render_streamlines(void)
}
glEnd();
}
+#endif
}
static void render_flowvis(void)
@@ -977,7 +979,6 @@ void visualize(struct vis_data_arrays *vis_data)
render_normals();
}
- render_streamlines();
//create an orthographic projection matrix for rendering the legendbar
glMatrixMode(GL_PROJECTION);
glPushMatrix();